summaryrefslogtreecommitdiff
path: root/libs/ardour/route_graph.cc
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2013-10-21 00:19:43 +1100
committernick_m <mainsbridge@gmail.com>2013-10-21 00:19:43 +1100
commit5b62e88fbf1022a48c50c9975c2a81a05ecdbb0c (patch)
tree991a5796771b9bd642c75b07bd04ae017e433833 /libs/ardour/route_graph.cc
parentf5c386bbb40e176028022efa7577369eca79b788 (diff)
Unify editor / mixer ordering.
Diffstat (limited to 'libs/ardour/route_graph.cc')
-rw-r--r--libs/ardour/route_graph.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/route_graph.cc b/libs/ardour/route_graph.cc
index 13264ff9fa..ee02afef24 100644
--- a/libs/ardour/route_graph.cc
+++ b/libs/ardour/route_graph.cc
@@ -170,7 +170,7 @@ struct RouteRecEnabledComparator
if (r1->record_enabled()) {
if (r2->record_enabled()) {
/* both rec-enabled, just use signal order */
- return r1->order_key (MixerSort) < r2->order_key (MixerSort);
+ return r1->order_key () < r2->order_key ();
} else {
/* r1 rec-enabled, r2 not rec-enabled, run r2 early */
return false;
@@ -181,7 +181,7 @@ struct RouteRecEnabledComparator
return true;
} else {
/* neither rec-enabled, use signal order */
- return r1->order_key (MixerSort) < r2->order_key (MixerSort);
+ return r1->order_key () < r2->order_key ();
}
}
}