add new per-session MIDI-region-copy-is-fork: if set, all MIDI region copies will...
[ardour.git] / libs / ardour / midi_region.cc
index ba926211a3fa2f5512cbd80c201443558bee4aa2..f67617da621aba0570a402909dcce7245c99e4d3 100644 (file)
@@ -118,7 +118,7 @@ MidiRegion::~MidiRegion ()
 /** Create a new MidiRegion that has its own version of some/all of the Source used by another.
  */
 boost::shared_ptr<MidiRegion>
-MidiRegion::clone ()
+MidiRegion::clone () const
 {
        BeatsFramesConverter bfc (_session.tempo_map(), _position);
        Evoral::MusicalTime const bbegin = bfc.from (_start);