diff options
Diffstat (limited to 'gtk')
-rwxr-xr-x | gtk/PlatGTK.cxx | 2 | ||||
-rwxr-xr-x | gtk/ScintillaGTK.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 4beb1c418..770334a92 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -114,7 +114,7 @@ public: FontHandle(FontHandle &&) = delete; FontHandle &operator=(const FontHandle &) = delete; FontHandle &operator=(FontHandle &&) = delete; - ~FontHandle() { + ~FontHandle() override { if (pfd) pango_font_description_free(pfd); pfd = nullptr; diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 022471699..8d9f41e6b 100755 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -92,7 +92,7 @@ public: ScintillaGTK(ScintillaGTK &&) = delete; ScintillaGTK &operator=(const ScintillaGTK &) = delete; ScintillaGTK &operator=(ScintillaGTK &&) = delete; - virtual ~ScintillaGTK(); + ~ScintillaGTK() override; static ScintillaGTK *FromWidget(GtkWidget *widget) noexcept; static void ClassInit(OBJECT_CLASS *object_class, GtkWidgetClass *widget_class, GtkContainerClass *container_class); private: |