summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
};