summaryrefslogtreecommitdiff
path: root/libs/ardour/presentation_info.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-07 13:57:49 +0200
committerRobin Gareus <robin@gareus.org>2017-08-07 13:57:49 +0200
commit4994bc4fb1c0d835f04e08939ea095e972e19cef (patch)
treea018a2d61ba6d9b47b4ff72ca8d4f47e081e3cfe /libs/ardour/presentation_info.cc
parent29cc1f06b601c52421e4bc1f28ca1852fa2650db (diff)
Explicitly initialize parent in the copy constructor
Diffstat (limited to 'libs/ardour/presentation_info.cc')
-rw-r--r--libs/ardour/presentation_info.cc3
1 files changed, 2 insertions, 1 deletions
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())
{