X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fclientprotocol.h;h=29035250d34e04bc9fceb32f031747bd2f333368;hb=a30a0074edac353cb60e134b43fa8ff0ffb67f8b;hp=16f08a6f6a010e10ef9f65cde810bae405cb312a;hpb=4f9abe96a4301a740d4a5fd7932550d88d60a3fc;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/clientprotocol.h b/include/clientprotocol.h index 16f08a6f6..29035250d 100644 --- a/include/clientprotocol.h +++ b/include/clientprotocol.h @@ -239,13 +239,15 @@ class ClientProtocol::Message : public ClientProtocol::MessageSource } Param(int, const char* s) - : owned(true) + : ptr(NULL) + , owned(true) { new(str) std::string(s); } Param(int, const std::string& s) - : owned(true) + : ptr(NULL) + , owned(true) { new(str) std::string(s); }