From fb3a8aa0fd223f179b9cdf9cdd6ab3c5b219d2a6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 28 Aug 2021 20:58:28 +0100 Subject: Add -Wnon-virtual-dtor --- lib/eventHandlerBase.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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; class EventHandlerBase { public: + virtual ~EventHandlerBase() = default; virtual void tableMap(MariaDB_Event_Ptr); virtual void insertRow(MariaDB_Event_Ptr); virtual void updateRow(MariaDB_Event_Ptr); -- cgit v1.2.3