uninitialized variables-persistence

This commit is contained in:
AzaezelX 2020-05-11 15:12:50 -05:00
parent a46bf3d7e5
commit b6c33bdd2b
3 changed files with 4 additions and 3 deletions

View file

@ -38,7 +38,7 @@
class TamlJSONParser : public TamlParser class TamlJSONParser : public TamlParser
{ {
public: public:
TamlJSONParser() {} TamlJSONParser() :mDocumentDirty(false) {}
virtual ~TamlJSONParser() {} virtual ~TamlJSONParser() {}
/// Whether the parser can change a property or not. /// Whether the parser can change a property or not.

View file

@ -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. // 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() : Taml::Taml() :
mMasterNodeId(0),
mFormatMode(XmlFormat), mFormatMode(XmlFormat),
mJSONStrict(true), mJSONStrict(true),
mBinaryCompression(true), mBinaryCompression(true),

View file

@ -38,7 +38,7 @@
class TamlXmlParser : public TamlParser class TamlXmlParser : public TamlParser
{ {
public: public:
TamlXmlParser() {} TamlXmlParser() :mDocumentDirty(false) {}
virtual ~TamlXmlParser() {} virtual ~TamlXmlParser() {}
/// Whether the parser can change a property or not. /// Whether the parser can change a property or not.