diff options
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 */ |