diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-14 06:48:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:31 -0500 |
commit | 7011ce23b1c0b266830a5af6d3538a67a72ba473 (patch) | |
tree | 96787ca4a9b9b8ca15d21050da056bc96bfd4f1d /libs/ardour/ardour/utils.h | |
parent | 313a0a7e90832f0f1c0aed6b3df470e0ec45101e (diff) |
fix required after rebase against master
Diffstat (limited to 'libs/ardour/ardour/utils.h')
-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__ |