Make sure all fields in the Field class are initialized

refs #7564
This commit is contained in:
Gunnar Beutner 2015-02-09 12:37:29 +01:00
parent 279293331f
commit a8ec777819
1 changed files with 4 additions and 0 deletions

View File

@ -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())