diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-11-06 22:16:27 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-11-10 23:14:16 +1000 |
commit | 4e6cdb4daa6fb5476854ff238e1cedb7909cd3d4 (patch) | |
tree | 8f86ef6275ce4e8261928091bf19ede5c0ae9bf9 /libs/pbd | |
parent | 9e4dc284eec34073fef12a4a9057d42f01d3fc6d (diff) |
Use constructor initialization list in Stateful class
Diffstat (limited to 'libs/pbd')
-rw-r--r-- | libs/pbd/stateful.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/stateful.cc b/libs/pbd/stateful.cc index 845d6ba42e..7d67629191 100644 --- a/libs/pbd/stateful.cc +++ b/libs/pbd/stateful.cc @@ -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 () |