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 boost::shared_ptr stripable_list_to_control_li return cl; } -template boost::shared_ptr stripable_list_to_control_list (StripableList& sl, boost::shared_ptr (Stripable::*get_control)() const) { - boost::shared_ptr cl (new ControlList); - for (StripableList::const_iterator s = sl.begin(); s != sl.end(); ++s) { - boost::shared_ptr ac = ((*s).get()->*get_control)(); - if (ac) { - cl->push_back (ac); - } - } - return cl; -} - #if __APPLE__ LIBARDOUR_API std::string CFStringRefToStdString(CFStringRef stringRef); #endif // __APPLE__