diff options
author | David Robillard <d@drobilla.net> | 2010-02-05 20:03:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-02-05 20:03:57 +0000 |
commit | 8d64ce26c4f6f7817958772c7593b9aac4b90db3 (patch) | |
tree | 913e052acb2de7fff6e50662f70bb4c7de5165f8 /libs/ardour/route.cc | |
parent | 249bc2f7443dfacb6b0ad06616196940e6fe1e6e (diff) |
Remove weird/pointless Automatable::data().
git-svn-id: svn://localhost/ardour2/branches/3.0@6637 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 6e8b134cc9..1f670605c1 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -3148,7 +3148,7 @@ Route::get_control (const Evoral::Parameter& param) { /* either we own the control or .... */ - boost::shared_ptr<AutomationControl> c = boost::dynamic_pointer_cast<AutomationControl>(data().control (param)); + boost::shared_ptr<AutomationControl> c = boost::dynamic_pointer_cast<AutomationControl>(control (param)); if (!c) { @@ -3156,7 +3156,7 @@ Route::get_control (const Evoral::Parameter& param) Glib::RWLock::ReaderLock rm (_processor_lock, Glib::TRY_LOCK); for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) { - if ((c = boost::dynamic_pointer_cast<AutomationControl>((*i)->data().control (param))) != 0) { + if ((c = boost::dynamic_pointer_cast<AutomationControl>((*i)->control (param))) != 0) { break; } } |