Explicitly initialize parent in the copy constructor

This commit is contained in:
Robin Gareus 2017-08-07 13:57:49 +02:00
parent 29cc1f06b6
commit 4994bc4fb1
2 changed files with 3 additions and 1 deletions

View file

@ -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);

View file

@ -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())
{