diff options
-rw-r--r-- | src/common/interface/Connection.hpp | 1 | ||||
-rw-r--r-- | src/common/interface/Resource.hpp | 1 | ||||
-rw-r--r-- | src/engine/Engine.hpp | 1 | ||||
-rw-r--r-- | src/engine/ingen.lv2/ingen_lv2.cpp | 1 | ||||
-rw-r--r-- | src/module/Module.hpp | 3 |
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 |