From c411c1f2acb1057ee705a8ff163ad0892d5e21cf Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 15 Sep 2013 09:50:41 +0200 Subject: Make destructor virtual. --- plugingui/plugingui.h | 2 +- src/drumgizmo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugingui/plugingui.h b/plugingui/plugingui.h index cd050de..7ec5e77 100644 --- a/plugingui/plugingui.h +++ b/plugingui/plugingui.h @@ -47,7 +47,7 @@ class PluginGUI : public Thread, public MessageReceiver { public: PluginGUI(); - ~PluginGUI(); + virtual ~PluginGUI(); void thread_main(); void stopThread(); diff --git a/src/drumgizmo.h b/src/drumgizmo.h index 31c192c..323c991 100644 --- a/src/drumgizmo.h +++ b/src/drumgizmo.h @@ -51,7 +51,7 @@ class DrumGizmo : public MessageReceiver { public: DrumGizmo(AudioOutputEngine *outputengine, AudioInputEngine *inputengine); - ~DrumGizmo(); + virtual ~DrumGizmo(); bool loadkit(std::string kitfile); std::string drumkitfile(); -- cgit v1.2.3