From 4e6cdb4daa6fb5476854ff238e1cedb7909cd3d4 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 6 Nov 2015 22:16:27 +1000 Subject: Use constructor initialization list in Stateful class --- libs/pbd/stateful.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/pbd/stateful.cc') 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 () -- cgit v1.2.3