Fix copy paste of MIDI and track automation.
[ardour.git] / gtk2_ardour / region_view.h
index 389faf89210adda3c95ca2d4dece9a11585d52d5..d39e75b759de7215dada75cf2b4696f7b174e1fe 100644 (file)
@@ -113,6 +113,12 @@ class RegionView : public TimeAxisViewItem
         void drop_silent_frames ();
         void hide_silent_frames ();
 
+       struct PositionOrder {
+               bool operator()(const RegionView* a, const RegionView* b) {
+                       return a->region()->position() < b->region()->position();
+               }
+       };
+
        ARDOUR::frameoffset_t snap_frame_to_frame (ARDOUR::frameoffset_t) const;
        
   protected: