diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/queryhandler.h | 1 | ||||
-rw-r--r-- | server/src/queryhandlerpentominos.h | 1 | ||||
-rw-r--r-- | server/src/queryhandlerpracro.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/server/src/queryhandler.h b/server/src/queryhandler.h index 2b67c24..4aff292 100644 --- a/server/src/queryhandler.h +++ b/server/src/queryhandler.h @@ -39,6 +39,7 @@ class QueryHandler { public: QueryHandler() {} + virtual ~QueryHandler() {} // Execute all queries. virtual QueryResult exec(Query &query) = 0; diff --git a/server/src/queryhandlerpentominos.h b/server/src/queryhandlerpentominos.h index 3d98b25..9cc2cbf 100644 --- a/server/src/queryhandlerpentominos.h +++ b/server/src/queryhandlerpentominos.h @@ -42,6 +42,7 @@ class QueryHandlerPentominos : public QueryHandler { public: QueryHandlerPentominos(TCPSocket *socket, std::string cpr); + ~QueryHandlerPentominos() {} // Execute all queries. QueryResult exec(Query &query); diff --git a/server/src/queryhandlerpracro.h b/server/src/queryhandlerpracro.h index 8852868..73802f0 100644 --- a/server/src/queryhandlerpracro.h +++ b/server/src/queryhandlerpracro.h @@ -42,6 +42,7 @@ class QueryHandlerPracro : public QueryHandler { public: QueryHandlerPracro(Database *db, std::string cpr); + ~QueryHandlerPracro() {} // Execute all queries. QueryResult exec(Query &query); |