From 46d137414be5d891e2cb4e0bfd6660eb1faa109b Mon Sep 17 00:00:00 2001 From: nick_m Date: Tue, 18 Oct 2016 02:14:15 +1100 Subject: Initialize TempoMetric _pulse in sonstructor. --- libs/ardour/ardour/tempo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/tempo.h') 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 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; } -- cgit v1.2.3