From 71069b857068201c37ffcc2c3e799329ff29769b Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 8 Sep 2022 16:04:09 +0200 Subject: Add necessary virtual qualifier to ~Fl_Font_Descriptor() and derived. --- FL/Fl_Graphics_Driver.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') 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 }; -- cgit v1.2.3