mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
fix constness in relationship to EditingContext:: local tempo map
This commit is contained in:
parent
e682e1fde4
commit
a07ba74c9d
1 changed files with 2 additions and 2 deletions
|
|
@ -833,8 +833,8 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider,
|
|||
bool temporary_zoom_focus_change;
|
||||
bool _dragging_playhead;
|
||||
|
||||
std::shared_ptr<Temporal::TempoMap> _local_tempo_map;
|
||||
void ensure_local_tempo_scope () {
|
||||
mutable std::shared_ptr<Temporal::TempoMap> _local_tempo_map;
|
||||
void ensure_local_tempo_scope () const {
|
||||
if (_local_tempo_map) {
|
||||
Temporal::TempoMap::set (_local_tempo_map);
|
||||
_local_tempo_map.reset ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue