From 7cdf25e02fce0111d237b41f57889661fc82260b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 4 Oct 2018 03:57:49 +0200 Subject: [PATCH] Remove cruft --- gtk2_ardour/editor_selection.cc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 0d5909778a..61699afe09 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -983,23 +983,6 @@ Editor::set_selected_regionview_from_map_event (GdkEventAny* /*ev*/, StreamView* return true; } -struct SelectionOrderSorter { - bool operator() (TimeAxisView const * const a, TimeAxisView const * const b) const { - boost::shared_ptr sa = a->stripable (); - boost::shared_ptr sb = b->stripable (); - if (!sa && !sb) { - return a < b; - } - if (!sa) { - return false; - } - if (!sb) { - return true; - } - return sa->presentation_info().selection_cnt() < sb->presentation_info().selection_cnt(); - } -}; - void Editor::presentation_info_changed (PropertyChange const & what_changed) {