From a8ec77781914b1137806e2034707b273309559d6 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 9 Feb 2015 12:37:29 +0100 Subject: [PATCH] Make sure all fields in the Field class are initialized refs #7564 --- tools/mkclass/classcompiler.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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())