diff options
author | madmaxoft <github@xoft.cz> | 2014-03-28 21:37:31 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-28 21:37:31 +0100 |
commit | 18dad361893e570322531c1ccbd6968082448e19 (patch) | |
tree | 43229e1050ebbf0cdf0cfe370808cb29bc515d65 /src/HTTPServer | |
parent | Implemented the msSpongePrint merge strategy. (diff) | |
parent | Fixed non-virtual destructors warnings. (diff) | |
download | cuberite-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')
-rw-r--r-- | src/HTTPServer/HTTPServer.h | 4 |
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); |