summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-26 13:41:48 +0000
committerManolo Gouy <Manolo>2016-02-26 13:41:48 +0000
commit53993d4bd1476e6d7700b13a2ca0e1d489a740d4 (patch)
tree73cb65247b9b6acf670df51cf2105637b6e6d8ca /src
parent682f95079691dd9c9b0677cb66e727397f910e0d (diff)
Add virtual destructor to Fl_Screen_Driver.
This is safer because Fl_Screen_Driver has virtual member functions and derived classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Screen_Driver.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Screen_Driver.cxx b/src/Fl_Screen_Driver.cxx
index dcaad6571..eafa23539 100644
--- a/src/Fl_Screen_Driver.cxx
+++ b/src/Fl_Screen_Driver.cxx
@@ -32,6 +32,9 @@ num_screens(-1)
{
}
+Fl_Screen_Driver::~Fl_Screen_Driver() {
+}
+
void Fl_Screen_Driver::display(const char *) {
// blank