summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-09-15 09:50:41 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-09-15 09:50:41 +0200
commitc411c1f2acb1057ee705a8ff163ad0892d5e21cf (patch)
tree07bb3fb297ce253f414b89bc309dad374eb60934
parentf20eda47cc44bb30e4cf9a3a63d5b28ab3623b04 (diff)
Make destructor virtual.
-rw-r--r--plugingui/plugingui.h2
-rw-r--r--src/drumgizmo.h2
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();