summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-01 23:07:11 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-01 23:07:11 +0100
commit77462d26af6bf9bc25b1508918c8853d17343dbd (patch)
tree62130633443bf0294f779d996a7a8f100788bed4 /lib
parentAdd missing header (diff)
downloadmygrate-77462d26af6bf9bc25b1508918c8853d17343dbd.tar.bz2
mygrate-77462d26af6bf9bc25b1508918c8853d17343dbd.tar.xz
mygrate-77462d26af6bf9bc25b1508918c8853d17343dbd.zip
Add missing virtual destructor
Diffstat (limited to 'lib')
-rw-r--r--lib/eventSourceBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/eventSourceBase.h b/lib/eventSourceBase.h
index d511a3f..52545df 100644
--- a/lib/eventSourceBase.h
+++ b/lib/eventSourceBase.h
@@ -6,6 +6,7 @@
namespace MyGrate {
class EventSourceBase {
public:
+ virtual ~EventSourceBase() = default;
virtual void readEvents(EventHandlerBase &) = 0;
};
}