From e54c27b1f2211686d9745193945b1d58774b58ae Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Sun, 29 Mar 2020 23:35:43 +0200 Subject: [PATCH] Warning on gcc 4.9 for the array initializer --- src/sfizz/MidiState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfizz/MidiState.h b/src/sfizz/MidiState.h index d7b528e3..18305e40 100644 --- a/src/sfizz/MidiState.h +++ b/src/sfizz/MidiState.h @@ -202,12 +202,12 @@ private: * @brief Stores the note on times. * */ - MidiNoteArray noteOnTimes {}; + MidiNoteArray noteOnTimes {{}}; /** * @brief Stores the note off times. * */ - MidiNoteArray noteOffTimes {}; + MidiNoteArray noteOffTimes {{}}; /** * @brief Stores the velocity of the note ons for currently * depressed notes.