summaryrefslogtreecommitdiff
path: root/libs/ardour/selection.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2018-08-24 18:22:56 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2018-08-24 18:26:01 -0400
commit0db0d8510861f05bdd713b07062064bc8640f9e1 (patch)
treebecdfabfdf75efa1a016a1774ec202490f4f9136 /libs/ardour/selection.cc
parente546b109c5a17350403d01fa58589be11e67ac7f (diff)
no reason for 2 template types in CoreSelection::select_adjacent_stripable()
Diffstat (limited to 'libs/ardour/selection.cc')
-rw-r--r--libs/ardour/selection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc
index 5bd186510a..ac83429d62 100644
--- a/libs/ardour/selection.cc
+++ b/libs/ardour/selection.cc
@@ -51,7 +51,7 @@ CoreSelection::~CoreSelection ()
{
}
-template<typename IterTypeForward, typename IterTypeCore>
+template<typename IterTypeCore>
void
CoreSelection::select_adjacent_stripable (bool mixer_order, bool routes_only,
IterTypeCore (StripableList::*begin_method)(),
@@ -65,7 +65,7 @@ CoreSelection::select_adjacent_stripable (bool mixer_order, bool routes_only,
session.get_stripables (stripables);
stripables.sort (ARDOUR::Stripable::Sorter (mixer_order));
- for (IterTypeForward s = (stripables.*begin_method)(); s != (stripables.*end_method)(); ++s) {
+ for (StripableList::iterator s = stripables.begin(); s != stripables.end(); ++s) {
if (select_stripable_and_maybe_group (*s, true, routes_only, 0)) {
break;
}