diff --git a/tools/mkclass/classcompiler.hpp b/tools/mkclass/classcompiler.hpp index 138ea40ea..3b9844853 100644 --- a/tools/mkclass/classcompiler.hpp +++ b/tools/mkclass/classcompiler.hpp @@ -78,6 +78,10 @@ struct Field bool PureSetAccessor; std::string DefaultAccessor; + Field(void) + : Attributes(0), PureGetAccessor(false), PureSetAccessor(false) + { } + std::string GetFriendlyName(void) const { if (!AlternativeName.empty())