summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/Connection.hpp1
-rw-r--r--src/common/interface/Resource.hpp1
2 files changed, 2 insertions, 0 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;