diff options
Diffstat (limited to 'libs/ardour/ardour/slavable_automation_control.h')
-rw-r--r-- | libs/ardour/ardour/slavable_automation_control.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/slavable_automation_control.h b/libs/ardour/ardour/slavable_automation_control.h index f89d29c0d2..acb5ad7471 100644 --- a/libs/ardour/ardour/slavable_automation_control.h +++ b/libs/ardour/ardour/slavable_automation_control.h @@ -36,7 +36,7 @@ class LIBARDOUR_API SlavableAutomationControl : public AutomationControl PBD::Controllable::Flag flags=PBD::Controllable::Flag (0) ); - ~SlavableAutomationControl (); + virtual ~SlavableAutomationControl (); double get_value () const; @@ -110,7 +110,7 @@ class LIBARDOUR_API SlavableAutomationControl : public AutomationControl mutable Glib::Threads::RWLock master_lock; typedef std::map<PBD::ID,MasterRecord> Masters; Masters _masters; - PBD::ScopedConnectionList masters_connections; + std::map<boost::weak_ptr<AutomationControl>, PBD::ScopedConnection> masters_connections; void master_going_away (boost::weak_ptr<AutomationControl>); double get_value_locked() const; |