summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 20:58:28 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-28 20:58:28 +0100
commitfb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6 (patch)
tree9fd00ea417622b339346bb56cad1b7e857b433b2 /lib
parentDon't need separate decorator (diff)
downloadmygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.tar.bz2
mygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.tar.xz
mygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.zip
Add -Wnon-virtual-dtor
Diffstat (limited to 'lib')
-rw-r--r--lib/eventHandlerBase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/eventHandlerBase.h b/lib/eventHandlerBase.h
index df7388c..6187139 100644
--- a/lib/eventHandlerBase.h
+++ b/lib/eventHandlerBase.h
@@ -9,6 +9,7 @@ namespace MyGrate {
using MariaDB_Event_Ptr = std::unique_ptr<MARIADB_RPL_EVENT, decltype(&mariadb_free_rpl_event)>;
class EventHandlerBase {
public:
+ virtual ~EventHandlerBase() = default;
virtual void tableMap(MariaDB_Event_Ptr);
virtual void insertRow(MariaDB_Event_Ptr);
virtual void updateRow(MariaDB_Event_Ptr);