From a07ba74c9d2ef77ff9737810f58f3521c380b5e5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 8 Aug 2025 14:33:26 -0600 Subject: [PATCH] fix constness in relationship to EditingContext:: local tempo map --- gtk2_ardour/editing_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editing_context.h b/gtk2_ardour/editing_context.h index a59bfeb677..30028dcc68 100644 --- a/gtk2_ardour/editing_context.h +++ b/gtk2_ardour/editing_context.h @@ -833,8 +833,8 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider, bool temporary_zoom_focus_change; bool _dragging_playhead; - std::shared_ptr _local_tempo_map; - void ensure_local_tempo_scope () { + mutable std::shared_ptr _local_tempo_map; + void ensure_local_tempo_scope () const { if (_local_tempo_map) { Temporal::TempoMap::set (_local_tempo_map); _local_tempo_map.reset ();