Warning on gcc 4.9 for the array initializer

This commit is contained in:
Paul Ferrand 2020-03-29 23:35:43 +02:00
parent e13456d41d
commit e54c27b1f2

View file

@ -202,12 +202,12 @@ private:
* @brief Stores the note on times.
*
*/
MidiNoteArray<unsigned> noteOnTimes {};
MidiNoteArray<unsigned> noteOnTimes {{}};
/**
* @brief Stores the note off times.
*
*/
MidiNoteArray<unsigned> noteOffTimes {};
MidiNoteArray<unsigned> noteOffTimes {{}};
/**
* @brief Stores the velocity of the note ons for currently
* depressed notes.