From bf687476c3abe0d972da4a5f3c090819fdd3d69b Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 27 Aug 2024 16:47:41 +0200 Subject: [PATCH] bugfix (#454) --- src/libshoopdaloop/internal/AudioMidiLoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libshoopdaloop/internal/AudioMidiLoop.cpp b/src/libshoopdaloop/internal/AudioMidiLoop.cpp index 0c8d8a490..111337543 100644 --- a/src/libshoopdaloop/internal/AudioMidiLoop.cpp +++ b/src/libshoopdaloop/internal/AudioMidiLoop.cpp @@ -36,7 +36,7 @@ AudioMidiLoop::add_midi_channel(uint32_t data_size, shoop_channel_mode_t mode, { auto channel = shoop_make_shared( data_size, mode); - auto fn = [this, &channel]() { + auto fn = [this, channel]() { mp_midi_channels.push_back( shoop_static_pointer_cast(channel) );