diff vamp-sdk/Plugin.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 a67eeb9d6341
children 44ec6c633113
line wrap: on
line diff
--- a/vamp-sdk/Plugin.h	Wed Apr 12 09:57:07 2006 +0000
+++ b/vamp-sdk/Plugin.h	Wed Apr 12 12:32:18 2006 +0000
@@ -114,6 +114,8 @@
 class Plugin : public PluginBase
 {
 public:
+    virtual ~Plugin() { }
+
     /**
      * Initialise a plugin to prepare it for use with the given number
      * of input channels, step size (window increment, in sample