diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-10 15:30:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-10 15:30:41 +0200 |
commit | 140258d8abc366ddd600a7b3079b55a730b10225 (patch) | |
tree | 1940e8eb0e410dff8e658f279fe1d8f970ee50ba /libs/ardour/ardour/tempo.h | |
parent | cb2c459302a58114223e4bb548feece6d68556ef (diff) |
remove reference "const int32_t&" -> const int32_t"
this simplifies lua-bindings and also let's the compiler worry about
constant primitive types.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 0a9585c3dc..5fce9ce384 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -452,7 +452,7 @@ class LIBARDOUR_API TempoMap : public PBD::StatefulDestructible bool gui_change_tempo (TempoSection*, const Tempo& bpm); void gui_dilate_tempo (TempoSection* tempo, const framepos_t& frame, const framepos_t& end_frame, const double& pulse); - double exact_beat_at_frame (const framepos_t& frame, const int32_t& sub_num); + double exact_beat_at_frame (const framepos_t& frame, const int32_t sub_num); std::pair<double, framepos_t> predict_tempo_position (TempoSection* section, const Timecode::BBT_Time& bbt); bool can_solve_bbt (TempoSection* section, const Timecode::BBT_Time& bbt); @@ -497,7 +497,7 @@ private: bool solve_map_frame (Metrics& metrics, MeterSection* section, const framepos_t& frame); bool solve_map_bbt (Metrics& metrics, MeterSection* section, const Timecode::BBT_Time& bbt); - double exact_beat_at_frame_locked (const Metrics& metrics, const framepos_t& frame, const int32_t& sub_num); + double exact_beat_at_frame_locked (const Metrics& metrics, const framepos_t& frame, const int32_t sub_num); friend class ::BBTTest; friend class ::FrameposPlusBeatsTest; |