summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-07 16:16:18 +0000
committerDavid Robillard <d@drobilla.net>2010-01-07 16:16:18 +0000
commit83947382ecff039846cc345e0ccd9c429aa5e1e5 (patch)
treeef95249f3e1a47d4974bde66d93048921ac4d82f /src
parentd179ee1d5dc07dc2bbb33f2a85397de8a6cac08e (diff)
downloadingen-83947382ecff039846cc345e0ccd9c429aa5e1e5.tar.gz
ingen-83947382ecff039846cc345e0ccd9c429aa5e1e5.tar.bz2
ingen-83947382ecff039846cc345e0ccd9c429aa5e1e5.zip
Add missing base class virtual destructor stubs.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2366 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/common/interface/Connection.hpp1
-rw-r--r--src/common/interface/Resource.hpp1
-rw-r--r--src/engine/Engine.hpp1
-rw-r--r--src/engine/ingen.lv2/ingen_lv2.cpp1
-rw-r--r--src/module/Module.hpp3
5 files changed, 4 insertions, 3 deletions
diff --git a/src/common/interface/Connection.hpp b/src/common/interface/Connection.hpp
index a4ca90c2..4cba7196 100644
--- a/src/common/interface/Connection.hpp
+++ b/src/common/interface/Connection.hpp
@@ -31,6 +31,7 @@ namespace Shared {
class Connection
{
public:
+ virtual ~Connection() {}
virtual const Raul::Path src_port_path() const = 0;
virtual const Raul::Path dst_port_path() const = 0;
};
diff --git a/src/common/interface/Resource.hpp b/src/common/interface/Resource.hpp
index 99bd3ef6..5c9a90eb 100644
--- a/src/common/interface/Resource.hpp
+++ b/src/common/interface/Resource.hpp
@@ -30,6 +30,7 @@ namespace Shared {
class Resource
{
public:
+ virtual ~Resource() {}
typedef std::multimap<Raul::URI, Raul::Atom> Properties;
virtual const Raul::URI uri() const = 0;
diff --git a/src/engine/Engine.hpp b/src/engine/Engine.hpp
index beb505cf..1b2a1276 100644
--- a/src/engine/Engine.hpp
+++ b/src/engine/Engine.hpp
@@ -109,7 +109,6 @@ private:
ProcessSlaves _process_slaves;
Ingen::Shared::World* _world;
SharedPtr<Driver> _driver;
- SharedPtr<Driver> _midi_driver;
Raul::Maid* _maid;
PostProcessor* _post_processor;
ClientBroadcaster* _broadcaster;
diff --git a/src/engine/ingen.lv2/ingen_lv2.cpp b/src/engine/ingen.lv2/ingen_lv2.cpp
index 8eea78ed..598c2802 100644
--- a/src/engine/ingen.lv2/ingen_lv2.cpp
+++ b/src/engine/ingen.lv2/ingen_lv2.cpp
@@ -106,7 +106,6 @@ ingen_cleanup(LV2_Handle instance)
static void
ingen_connect_port(LV2_Handle instance, uint32_t port, void* data)
{
- //IngenPlugin* plugin = (IngenPlugin*)instance;
}
diff --git a/src/module/Module.hpp b/src/module/Module.hpp
index c9ac198f..7d2aec6e 100644
--- a/src/module/Module.hpp
+++ b/src/module/Module.hpp
@@ -32,6 +32,7 @@ class World;
* All components of Ingen reside in one of these.
*/
struct Module {
+ virtual ~Module() {}
virtual void load(Ingen::Shared::World* world) = 0;
SharedPtr<Glib::Module> library;
@@ -41,4 +42,4 @@ struct Module {
} // namespace Shared
} // namespace Ingen
-#endif //INGEN_MODULE_HPP
+#endif // INGEN_MODULE_HPP