diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-23 03:10:49 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-23 04:23:43 +0100 |
commit | 087fd57d37b7c07989b470019870fe8d72917bb3 (patch) | |
tree | c2137dc388a318d6d6ef1b8306a3e1e5d99f8fc0 /libs/ardour/pan_controllable.cc | |
parent | e9b36f2beab7d7c22d321291e5cfe39f5b0a4349 (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/pan_controllable.cc')
-rw-r--r-- | libs/ardour/pan_controllable.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/pan_controllable.cc b/libs/ardour/pan_controllable.cc index 35354102e9..9f558898b4 100644 --- a/libs/ardour/pan_controllable.cc +++ b/libs/ardour/pan_controllable.cc @@ -57,5 +57,5 @@ PanControllable::actually_set_value (double v, Controllable::GroupControlDisposi std::string PanControllable::get_user_string () const { - return owner->value_as_string (shared_from_this()); + return owner->value_as_string (boost::dynamic_pointer_cast<const AutomationControl>(shared_from_this())); } |