diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 0eff725a56..fe76043a33 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -388,7 +388,6 @@ public: std::shared_ptr get_remote_nth_route (PresentationInfo::order_t n) const; std::shared_ptr route_by_selected_count (uint32_t cnt) const; void routes_using_input_from (const std::string& str, RouteList& rl); - void find_matching_stripables_by_partial_name (std::string const & partial, std::vector&) const; bool route_name_unique (std::string) const; bool route_name_internal (std::string) const; diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 1eeb64e353..56f41f1992 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4483,19 +4483,6 @@ Session::stripable_by_name (string name) const return nullptr; } -void -Session::find_matching_stripables_by_partial_name (std::string const & partial, std::vector& matches) const -{ - StripableList sl; - get_stripables (sl); - - for (auto & s : sl) { - if (s->name().find (partial) == 0) { - matches.push_back (s->name()); - } - } -} - std::shared_ptr Session::route_by_id (PBD::ID id) const {