Remove cruft
authorRobin Gareus <robin@gareus.org>
Thu, 4 Oct 2018 01:57:49 +0000 (03:57 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 4 Oct 2018 01:57:49 +0000 (03:57 +0200)
gtk2_ardour/editor_selection.cc

index 0d5909778aff68b193fa75c60b8fd36952729788..61699afe0989948752357f583ec084f08cb3324d 100644 (file)
@@ -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<Stripable> sa = a->stripable ();
-               boost::shared_ptr<Stripable> 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)
 {