summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2009-02-17 12:05:51 +0000
committerdeva <deva>2009-02-17 12:05:51 +0000
commit8dde5e5e15434eb83e8514220973e3cf8b56a393 (patch)
tree788270f7fd2281f6e8e6c3a155eb58cd9e95eba1 /server
parent4137259fa6071d2790173f7935f06465df324264 (diff)
Fixed missing virtual descructor in query hanlders.
Diffstat (limited to 'server')
-rw-r--r--server/src/queryhandler.h1
-rw-r--r--server/src/queryhandlerpentominos.h1
-rw-r--r--server/src/queryhandlerpracro.h1
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);