From d7de12428bac4b23b29a41f44bce73e949b35cec Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 30 Mar 2016 06:15:24 +1100 Subject: [PATCH] Tempo gramps - fix compilatoin? --- libs/ardour/tempo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 2f1678467e..0298a97501 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -2581,8 +2581,8 @@ TempoMap::get_grid (vector& points, TempoSection const tempo = tempo_section_at_locked (pos); MeterSection const meter = meter_section_at_locked (pos); BBT_Time const bbt = beats_to_bbt (cnt); - - points.push_back (BBTPoint (meter, tempo_at_locked (pos), pos, bbt.bars, bbt.beats, tempo.get_c_func())); + BBTPoint point = BBTPoint (meter, tempo_at_locked (pos), pos, bbt.bars, bbt.beats, tempo.get_c_func()); + points.push_back (point); ++cnt; } }