make MidiRegion::start/length_beats() const.
[ardour.git] / libs / ardour / ardour / midi_region.h
index 132048a2426602793543c82f86ae0586eaf88bc2..0ad60a900cab8166feb915f06298b46ce81a31e6 100644 (file)
@@ -106,8 +106,8 @@ class LIBARDOUR_API MidiRegion : public Region
        boost::shared_ptr<const MidiModel> model() const;
 
        void fix_negative_start ();
-       double start_beats () {return _start_beats; }
-       double length_beats () {return _length_beats; }
+       double start_beats () const {return _start_beats; }
+       double length_beats () const {return _length_beats; }
 
        void clobber_sources (boost::shared_ptr<MidiSource> source);