13
0

Use constructor initialization list in Stateful class

This commit is contained in:
Tim Mayberry 2015-11-06 22:16:27 +10:00
parent 9e4dc284ee
commit 4e6cdb4daa

View File

@ -45,11 +45,11 @@ int Stateful::current_state_version = 0;
int Stateful::loading_state_version = 0;
Stateful::Stateful ()
: _properties (new OwnedPropertyList)
: _extra_xml (0)
, _instant_xml (0)
, _properties (new OwnedPropertyList)
, _stateful_frozen (0)
{
_extra_xml = 0;
_instant_xml = 0;
}
Stateful::~Stateful ()