diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 764a05d8da..1affc59449 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7450,7 +7450,7 @@ Editor::define_one_bar (timepos_t const & start, timepos_t const & end) { timecnt_t length = start.distance (end); - TempoMap::WritableSharedPtr tmap (TempoMap::write_copy()); + TempoMap::SharedPtr tmap (TempoMap::use()); const Meter& m (tmap->meter_at (start)); /* length = 1 bar */