diff options
-rw-r--r-- | UI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -261,7 +261,7 @@ void UI::slot_midi_note(int channel, int note, uint64_t timestamp) { m_midi_timestamp = timestamp; - auto midi_monitor = m_midi_monitor.update(); + auto& midi_monitor = m_midi_monitor.update(); midi_monitor.emplace_front(channel, note); while (midi_monitor.size() > midi_monitor_max_size) { |