diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-28 20:58:28 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-08-28 20:58:28 +0100 |
commit | fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6 (patch) | |
tree | 9fd00ea417622b339346bb56cad1b7e857b433b2 /lib | |
parent | Don't need separate decorator (diff) | |
download | mygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.tar.bz2 mygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.tar.xz mygrate-fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6.zip |
Add -Wnon-virtual-dtor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eventHandlerBase.h | 1 |
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); |