summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPServer.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-28 21:37:31 +0100
committermadmaxoft <github@xoft.cz>2014-03-28 21:37:31 +0100
commit18dad361893e570322531c1ccbd6968082448e19 (patch)
tree43229e1050ebbf0cdf0cfe370808cb29bc515d65 /src/HTTPServer/HTTPServer.h
parentImplemented the msSpongePrint merge strategy. (diff)
parentFixed non-virtual destructors warnings. (diff)
downloadcuberite-18dad361893e570322531c1ccbd6968082448e19.tar
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.gz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.bz2
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.lz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.xz
cuberite-18dad361893e570322531c1ccbd6968082448e19.tar.zst
cuberite-18dad361893e570322531c1ccbd6968082448e19.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);