From 8d64ce26c4f6f7817958772c7593b9aac4b90db3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 5 Feb 2010 20:03:57 +0000 Subject: Remove weird/pointless Automatable::data(). git-svn-id: svn://localhost/ardour2/branches/3.0@6637 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/route.cc') 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 c = boost::dynamic_pointer_cast(data().control (param)); + boost::shared_ptr c = boost::dynamic_pointer_cast(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((*i)->data().control (param))) != 0) { + if ((c = boost::dynamic_pointer_cast((*i)->control (param))) != 0) { break; } } -- cgit v1.2.3