summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-12 09:17:55 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-12 09:20:50 -0400
commit2afaa517170fe18c3448ba7378621d80ee5667cf (patch)
tree3b9d3badcb3dff9b04c35594ec308d6b4876136f /libs
parentd9f19ad1fea9edebb787c7a1d66e505b8a2bb90a (diff)
remove pointless version of Stripable::set_presentation_order()
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/stripable.h1
-rw-r--r--libs/ardour/session.cc2
-rw-r--r--libs/ardour/stripable.cc6
3 files changed, 1 insertions, 8 deletions
diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h
index 8ad02c98b3..7cf3da1f9a 100644
--- a/libs/ardour/ardour/stripable.h
+++ b/libs/ardour/ardour/stripable.h
@@ -77,7 +77,6 @@ class LIBARDOUR_API Stripable : public SessionObject {
/* set just the order */
void set_presentation_order (PresentationInfo::order_t, bool notify_class_listeners = true);
- void set_presentation_order_explicit (PresentationInfo::order_t);
struct PresentationOrderSorter {
bool operator() (boost::shared_ptr<Stripable> a, boost::shared_ptr<Stripable> b) {
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index fb73ecbd36..043d72d128 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -3453,7 +3453,7 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
if (order == PresentationInfo::max_order) {
/* just add to the end */
- r->set_presentation_order_explicit (n_routes + added);
+ r->set_presentation_order (n_routes + added, false);
DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("group order not set, set to NR %1 + %2 = %3\n", n_routes, added, n_routes + added));
} else {
r->set_presentation_order (order + added);
diff --git a/libs/ardour/stripable.cc b/libs/ardour/stripable.cc
index 2a86ef2529..744c103e48 100644
--- a/libs/ardour/stripable.cc
+++ b/libs/ardour/stripable.cc
@@ -48,12 +48,6 @@ Stripable::set_presentation_order (PresentationInfo::order_t order, bool notify_
}
}
-void
-Stripable::set_presentation_order_explicit (PresentationInfo::order_t order)
-{
- _presentation_info.set_order (order);
-}
-
int
Stripable::set_state (XMLNode const& node, int version)
{