diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-12 13:18:41 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-12 13:18:41 +0100 |
commit | 2ca83ef4a185d3cd6459a68c1d7bc959f90e8065 (patch) | |
tree | 923b2aa78087bdb1e54e2aeeda18bb910af3ebe5 | |
parent | 33464a1eb6a95d5671ca0246169061868aef3bbe (diff) |
Fix midi note monitor
-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) { |