Explicitly initialize parent in the copy constructor
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user