Skip to content

Commit

Permalink
bugfix (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderVocke authored Aug 27, 2024
1 parent d586bdd commit bf68747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libshoopdaloop/internal/AudioMidiLoop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ AudioMidiLoop::add_midi_channel(uint32_t data_size, shoop_channel_mode_t mode,
{
auto channel = shoop_make_shared<MidiChannel>(
data_size, mode);
auto fn = [this, &channel]() {
auto fn = [this, channel]() {
mp_midi_channels.push_back(
shoop_static_pointer_cast<ChannelInterface>(channel)
);
Expand Down

0 comments on commit bf68747

Please sign in to comment.