summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/EnvelopeParser.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-04-02 16:39:42 +0200
committermadmaxoft <github@xoft.cz>2014-04-02 16:40:27 +0200
commit26c3bc4076a455fd61b56c34215771bddb548e1d (patch)
tree3b35f0b2a6614473327857a5df0189db0a7945a9 /src/HTTPServer/EnvelopeParser.h
parentMerge branch 'MacFixes' (diff)
downloadcuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar.gz
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar.bz2
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar.lz
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar.xz
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.tar.zst
cuberite-26c3bc4076a455fd61b56c34215771bddb548e1d.zip
Diffstat (limited to 'src/HTTPServer/EnvelopeParser.h')
-rw-r--r--src/HTTPServer/EnvelopeParser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTTPServer/EnvelopeParser.h b/src/HTTPServer/EnvelopeParser.h
index 6430fbebf..866bed11d 100644
--- a/src/HTTPServer/EnvelopeParser.h
+++ b/src/HTTPServer/EnvelopeParser.h
@@ -19,6 +19,9 @@ public:
class cCallbacks
{
public:
+ // Force a virtual destructor in descendants:
+ virtual ~cCallbacks() {}
+
/// Called when a full header line is parsed
virtual void OnHeaderLine(const AString & a_Key, const AString & a_Value) = 0;
} ;