diff options
-rw-r--r-- | libs/ardour/ardour/utils.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h index 6355c2d7ca..cc6e5044ce 100644 --- a/libs/ardour/ardour/utils.h +++ b/libs/ardour/ardour/utils.h @@ -198,17 +198,6 @@ template<typename T> boost::shared_ptr<ControlList> stripable_list_to_control_li return cl; } -template<typename T> boost::shared_ptr<ControlList> stripable_list_to_control_list (StripableList& sl, boost::shared_ptr<T> (Stripable::*get_control)() const) { - boost::shared_ptr<ControlList> cl (new ControlList); - for (StripableList::const_iterator s = sl.begin(); s != sl.end(); ++s) { - boost::shared_ptr<AutomationControl> ac = ((*s).get()->*get_control)(); - if (ac) { - cl->push_back (ac); - } - } - return cl; -} - #if __APPLE__ LIBARDOUR_API std::string CFStringRefToStdString(CFStringRef stringRef); #endif // __APPLE__ |