diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-07 13:57:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-07 13:57:49 +0200 |
commit | 4994bc4fb1c0d835f04e08939ea095e972e19cef (patch) | |
tree | a018a2d61ba6d9b47b4ff72ca8d4f47e081e3cfe | |
parent | 29cc1f06b601c52421e4bc1f28ca1852fa2650db (diff) |
Explicitly initialize parent in the copy constructor
-rw-r--r-- | libs/ardour/automatable.cc | 1 | ||||
-rw-r--r-- | libs/ardour/presentation_info.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 3dad4ccd31..57c8205717 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -57,6 +57,7 @@ Automatable::Automatable(Session& session) Automatable::Automatable (const Automatable& other) : ControlSet (other) + , Slavable () , _a_session (other._a_session) { Glib::Threads::Mutex::Lock lm (other._control_lock); diff --git a/libs/ardour/presentation_info.cc b/libs/ardour/presentation_info.cc index d070f83220..23d82f6409 100644 --- a/libs/ardour/presentation_info.cc +++ b/libs/ardour/presentation_info.cc @@ -145,7 +145,8 @@ PresentationInfo::PresentationInfo (order_t o, Flag f) /* OrderSet is set */ } PresentationInfo::PresentationInfo (PresentationInfo const& other) - : _order (other.order()) + : PBD::Stateful () + , _order (other.order()) , _flags (other.flags()) , _color (other.color()) { |