summaryrefslogtreecommitdiff
path: root/FL
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 /FL
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 'FL')
-rw-r--r--FL/Fl_Screen_Driver.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index f71066f12..420d555c4 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -40,6 +40,7 @@ class FL_EXPORT Fl_Screen_Driver {
protected:
Fl_Screen_Driver();
+ virtual ~Fl_Screen_Driver();
static const int MAX_SCREENS = 16;