summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPServer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-28 21:35:45 +0100
committermadmaxoft <github@xoft.cz>2014-03-28 21:35:45 +0100
commit773ce7fde692e86531e1e92f42776e316b793d83 (patch)
tree33a45b7333f583292ed87983dba9563b2cad6f84 /src/HTTPServer/HTTPServer.h
parentFixed compilation after last PR merge. (diff)
downloadcuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.gz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.bz2
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.lz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.xz
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.tar.zst
cuberite-773ce7fde692e86531e1e92f42776e316b793d83.zip
Diffstat (limited to 'src/HTTPServer/HTTPServer.h')
-rw-r--r--src/HTTPServer/HTTPServer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/HTTPServer/HTTPServer.h b/src/HTTPServer/HTTPServer.h
index 24baf8c95..383abb4b6 100644
--- a/src/HTTPServer/HTTPServer.h
+++ b/src/HTTPServer/HTTPServer.h
@@ -37,6 +37,8 @@ public:
class cCallbacks
{
public:
+ virtual ~cCallbacks() {}
+
/** Called when a new request arrives over a connection and its headers have been parsed.
The request body needn't have arrived yet.
*/
@@ -50,7 +52,7 @@ public:
} ;
cHTTPServer(void);
- ~cHTTPServer();
+ virtual ~cHTTPServer();
/// Initializes the server on the specified ports
bool Initialize(const AString & a_PortsIPv4, const AString & a_PortsIPv6);