mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 05:05:43 +01:00
Explicitly initialize parent in the copy constructor
This commit is contained in:
parent
29cc1f06b6
commit
4994bc4fb1
2 changed files with 3 additions and 1 deletions
|
|
@ -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())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue