diff --git a/Engine/source/persistence/taml/json/tamlJSONParser.h b/Engine/source/persistence/taml/json/tamlJSONParser.h index ff74f0d79..6ef9c1020 100644 --- a/Engine/source/persistence/taml/json/tamlJSONParser.h +++ b/Engine/source/persistence/taml/json/tamlJSONParser.h @@ -38,7 +38,7 @@ class TamlJSONParser : public TamlParser { public: - TamlJSONParser() {} + TamlJSONParser() :mDocumentDirty(false) {} virtual ~TamlJSONParser() {} /// Whether the parser can change a property or not. @@ -54,4 +54,4 @@ private: bool mDocumentDirty; }; -#endif // _TAML_JSONPARSER_H_ \ No newline at end of file +#endif // _TAML_JSONPARSER_H_ diff --git a/Engine/source/persistence/taml/taml.cpp b/Engine/source/persistence/taml/taml.cpp index 82369a7c0..b8390a70c 100644 --- a/Engine/source/persistence/taml/taml.cpp +++ b/Engine/source/persistence/taml/taml.cpp @@ -140,6 +140,7 @@ ImplementEnumType(_TamlFormatMode, // The string-table-entries are set to string literals below because Taml is used in a static scope and the string-table cannot currently be used like that. Taml::Taml() : + mMasterNodeId(0), mFormatMode(XmlFormat), mJSONStrict(true), mBinaryCompression(true), diff --git a/Engine/source/persistence/taml/xml/tamlXmlParser.h b/Engine/source/persistence/taml/xml/tamlXmlParser.h index 28b51a472..467fcba3a 100644 --- a/Engine/source/persistence/taml/xml/tamlXmlParser.h +++ b/Engine/source/persistence/taml/xml/tamlXmlParser.h @@ -38,7 +38,7 @@ class TamlXmlParser : public TamlParser { public: - TamlXmlParser() {} + TamlXmlParser() :mDocumentDirty(false) {} virtual ~TamlXmlParser() {} /// Whether the parser can change a property or not.