mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 15:08:17 +01:00
Initialize TempoMetric _pulse in sonstructor.
This commit is contained in:
parent
0585393989
commit
46d137414b
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue