diff vamp-sdk/PluginBase.h @ 20:68b8b32a2070

* Add virtual destructors to PluginBase and Plugin to ensure subclass dtors get called * Fix buglet in host that caused plugin soname to be used as plugin name if no plugin name provided on command line * Add header dependencies to Makefile
author cannam
date Wed, 12 Apr 2006 12:32:18 +0000
parents 44113b1e296b
children e252b1ab423f
line wrap: on
line diff
--- a/vamp-sdk/PluginBase.h	Wed Apr 12 09:57:07 2006 +0000
+++ b/vamp-sdk/PluginBase.h	Wed Apr 12 12:32:18 2006 +0000
@@ -56,6 +56,8 @@
 class PluginBase 
 {
 public:
+    virtual ~PluginBase() { }
+
     /**
      * Get the computer-usable name of the plugin.  This should be
      * reasonably short and contain no whitespace or punctuation