diff options
author | nick_m <mainsbridge@gmail.com> | 2016-10-18 02:14:15 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2016-10-18 02:14:15 +1100 |
commit | 46d137414be5d891e2cb4e0bfd6660eb1faa109b (patch) | |
tree | 432a1e7239a71bab32f22307f2e591154be6a998 /libs/ardour/ardour/tempo.h | |
parent | 058539398977fb41a6ae9a2541472bc271a13aa9 (diff) |
Initialize TempoMetric _pulse in sonstructor.
Diffstat (limited to 'libs/ardour/ardour/tempo.h')
-rw-r--r-- | libs/ardour/ardour/tempo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/tempo.h b/libs/ardour/ardour/tempo.h index 138a199545..99a36cafba 100644 --- a/libs/ardour/ardour/tempo.h +++ b/libs/ardour/ardour/tempo.h @@ -252,7 +252,7 @@ typedef std::list<MetricSection*> Metrics; class LIBARDOUR_API TempoMetric { public: TempoMetric (const Meter& m, const Tempo& t) - : _meter (&m), _tempo (&t), _frame (0) {} + : _meter (&m), _tempo (&t), _frame (0), _pulse (0.0) {} void set_tempo (const Tempo& t) { _tempo = &t; } void set_meter (const Meter& m) { _meter = &m; } |