From b830ad3d667dff5c694027572db12726d719ea31 Mon Sep 17 00:00:00 2001 From: nick_m Date: Sun, 11 Dec 2016 23:44:25 +1100 Subject: [PATCH] constify TempoCurve::tempo(). --- gtk2_ardour/tempo_curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/tempo_curve.h b/gtk2_ardour/tempo_curve.h index dc678e4a6c..9cee2265f0 100644 --- a/gtk2_ardour/tempo_curve.h +++ b/gtk2_ardour/tempo_curve.h @@ -40,7 +40,7 @@ class TempoCurve : public sigc::trackable void hide (); void show (); - ARDOUR::TempoSection& tempo () { return _tempo; } + ARDOUR::TempoSection& tempo () const { return _tempo; } void set_max_tempo (const double& max) { _max_tempo = max; } void set_min_tempo (const double& min) { _min_tempo = min; }