summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-08 16:04:09 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-08 16:04:09 +0200
commit71069b857068201c37ffcc2c3e799329ff29769b (patch)
tree2c534fcbd3da8d54cf1388816962822f46c7ae7b /FL
parent13e05f4204cc636e40fd2591898c482aa0085226 (diff)
Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Graphics_Driver.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 4b9115ba2..eacb03add 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -383,7 +383,7 @@ public:
Fl_Font_Descriptor *next;
Fl_Fontsize size; /**< font size */
Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size);
- FL_EXPORT ~Fl_Font_Descriptor() {}
+ virtual FL_EXPORT ~Fl_Font_Descriptor() {}
short ascent, descent;
unsigned int listbase;// base of display list, 0 = none
};