diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-04-02 16:51:48 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-04-02 16:51:48 +0200 |
commit | 0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46 (patch) | |
tree | edf3601fa8b13bfd93be14df2ba0fb112d2cad3d /src/HTTPServer | |
parent | Merge branch 'master' into HTTPSizeT (diff) | |
parent | Fixed boat placement code. (diff) | |
download | cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar.gz cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar.bz2 cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar.lz cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar.xz cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.tar.zst cuberite-0075b2f72eb18f9283ae02b7b9a69bdb52d2bd46.zip |
Diffstat (limited to 'src/HTTPServer')
-rw-r--r-- | src/HTTPServer/EnvelopeParser.h | 1 | ||||
-rw-r--r-- | src/HTTPServer/HTTPFormParser.h | 4 | ||||
-rw-r--r-- | src/HTTPServer/MultipartParser.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/HTTPServer/EnvelopeParser.h b/src/HTTPServer/EnvelopeParser.h index 9b6c7f369..e96d80abe 100644 --- a/src/HTTPServer/EnvelopeParser.h +++ b/src/HTTPServer/EnvelopeParser.h @@ -19,6 +19,7 @@ public: class cCallbacks { public: + // Force a virtual destructor in descendants: virtual ~cCallbacks() {} /** Called when a full header line is parsed */ diff --git a/src/HTTPServer/HTTPFormParser.h b/src/HTTPServer/HTTPFormParser.h index 01d103bb8..edc6d2471 100644 --- a/src/HTTPServer/HTTPFormParser.h +++ b/src/HTTPServer/HTTPFormParser.h @@ -36,8 +36,8 @@ public: class cCallbacks { public: - - virtual ~cCallbacks() {}; + // Force a virtual destructor in descendants: + virtual ~cCallbacks() {} /// Called when a new file part is encountered in the form data virtual void OnFileStart(cHTTPFormParser & a_Parser, const AString & a_FileName) = 0; diff --git a/src/HTTPServer/MultipartParser.h b/src/HTTPServer/MultipartParser.h index a7395c1cb..ad76ad650 100644 --- a/src/HTTPServer/MultipartParser.h +++ b/src/HTTPServer/MultipartParser.h @@ -22,6 +22,7 @@ public: class cCallbacks { public: + // Force a virtual destructor in descendants: virtual ~cCallbacks() {} /** Called when a new part starts */ |