Piano: Fix building with clang

This commit is contained in:
joshua stein 2020-02-03 17:12:42 -06:00 committed by Andreas Kling
parent dac07a5d76
commit c3a32108b2
Notes: sideshowbarker 2024-07-19 09:36:40 +09:00

View file

@ -48,7 +48,7 @@ private:
AudioEngine& m_audio_engine;
int m_horizontal_notes { 32 };
Switch m_roll_notes[note_count][32] { Off };
Switch m_roll_notes[note_count][32] { { Off } };
int m_current_column { 0 };
int m_previous_column { m_horizontal_notes - 1 };
};