summaryrefslogtreecommitdiff
path: root/src/hub.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub.h')
-rw-r--r--src/hub.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hub.h b/src/hub.h
index 1e593e5..a109c8b 100644
--- a/src/hub.h
+++ b/src/hub.h
@@ -26,6 +26,8 @@ class Hub
{
public:
Hub(DiagramObject *owner);
+ // Virtual destructor provided to reduce compiler warnings
+ virtual ~Hub() {};
DiagramObject *owner() const;
void addConnector(Connector *connector);