summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/automation_control.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-23 03:10:49 +0100
committerRobin Gareus <robin@gareus.org>2019-03-23 04:23:43 +0100
commit087fd57d37b7c07989b470019870fe8d72917bb3 (patch)
treec2137dc388a318d6d6ef1b8306a3e1e5d99f8fc0 /libs/ardour/ardour/automation_control.h
parente9b36f2beab7d7c22d321291e5cfe39f5b0a4349 (diff)
Re-add Controllable registry
To facilitate a central registry with weak/shared pointer lookup, enable_shared_from_this<ARDOUR::AutomationControl> was migrated to enable_shared_from_this<PBD::Controllable> The main (and only) user is generic-midi surface's state interface :(
Diffstat (limited to 'libs/ardour/ardour/automation_control.h')
-rw-r--r--libs/ardour/ardour/automation_control.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/ardour/automation_control.h b/libs/ardour/ardour/automation_control.h
index 8de0ec6ec0..80cbf1c2f5 100644
--- a/libs/ardour/ardour/automation_control.h
+++ b/libs/ardour/ardour/automation_control.h
@@ -26,7 +26,6 @@
#include <glibmm/threads.h>
#include <boost/shared_ptr.hpp>
-#include <boost/enable_shared_from_this.hpp>
#include "pbd/controllable.h"
@@ -51,7 +50,6 @@ class ControlGroup;
class LIBARDOUR_API AutomationControl
: public PBD::Controllable
, public Evoral::Control
- , public boost::enable_shared_from_this<AutomationControl>
, public ControlGroupMember
, public SessionHandleRef
{