summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/beats_frames_converter.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/beats_frames_converter.h')
-rw-r--r--libs/ardour/ardour/beats_frames_converter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/beats_frames_converter.h b/libs/ardour/ardour/beats_frames_converter.h
index ee79430e4e..e331b8411d 100644
--- a/libs/ardour/ardour/beats_frames_converter.h
+++ b/libs/ardour/ardour/beats_frames_converter.h
@@ -35,7 +35,7 @@ class TempoMap;
*/
class BeatsFramesConverter : public Evoral::TimeConverter<double,framepos_t> {
public:
- BeatsFramesConverter (const TempoMap& tempo_map, framepos_t origin)
+ BeatsFramesConverter (TempoMap& tempo_map, framepos_t origin)
: Evoral::TimeConverter<double, framepos_t> (origin)
, _tempo_map(tempo_map)
{}
@@ -44,7 +44,7 @@ public:
double from (framepos_t frames) const;
private:
- const TempoMap& _tempo_map;
+ TempoMap& _tempo_map;
};
} /* namespace ARDOUR */