summaryrefslogtreecommitdiffstats
path: root/src/HTTPServer/HTTPMessage.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-20 16:20:54 +0100
committermadmaxoft <github@xoft.cz>2013-12-20 16:20:54 +0100
commitb66722f73532e9c1d5df71f6a2f09b5da0163dee (patch)
treefc114a5e5d062f62e91fc1f3e019259157f0c4b0 /src/HTTPServer/HTTPMessage.h
parentAttempt at fixing cChunkDef::Height signedness. (diff)
downloadcuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar.gz
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar.bz2
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar.lz
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar.xz
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.tar.zst
cuberite-b66722f73532e9c1d5df71f6a2f09b5da0163dee.zip
Diffstat (limited to '')
-rw-r--r--src/HTTPServer/HTTPMessage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTTPServer/HTTPMessage.h b/src/HTTPServer/HTTPMessage.h
index f5284c535..2a4c2879e 100644
--- a/src/HTTPServer/HTTPMessage.h
+++ b/src/HTTPServer/HTTPMessage.h
@@ -32,6 +32,9 @@ public:
cHTTPMessage(eKind a_Kind);
+ // Force a virtual destructor in all descendants
+ virtual ~cHTTPMessage() {};
+
/// Adds a header into the internal map of headers. Recognizes special headers: Content-Type and Content-Length
void AddHeader(const AString & a_Key, const AString & a_Value);