diff options
author | madmaxoft <github@xoft.cz> | 2014-03-28 21:35:45 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-28 21:35:45 +0100 |
commit | 773ce7fde692e86531e1e92f42776e316b793d83 (patch) | |
tree | 33a45b7333f583292ed87983dba9563b2cad6f84 /src/HTTPServer | |
parent | Fixed compilation after last PR merge. (diff) | |
download | cuberite-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')
-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); |