summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2011-02-14 14:31:06 +0000
committerdeva <deva>2011-02-14 14:31:06 +0000
commit634d7661ec1d6d202685cafb958b5a55dc2498aa (patch)
tree864f56619388096ab1c17451b0e509351f8ad0f9 /server
parent04f275fea9186a75836b589022a9fa410aea7b02 (diff)
Added missing virtual constructor.
Diffstat (limited to 'server')
-rw-r--r--server/src/connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/connection.h b/server/src/connection.h
index ec18d00..b7d17f4 100644
--- a/server/src/connection.h
+++ b/server/src/connection.h
@@ -34,6 +34,8 @@
class Connection {
public:
+ virtual ~Connection() {}
+
virtual bool handle(const char *data, size_t size) = 0;
virtual void getReply(Httpd::Reply &reply) = 0;
};