Browse Source

JuceDemo: removed an unnecessary capture-by-reference from a lambda.

tags/2021-05-28
Timur Doumler 9 years ago
parent
commit
942d269edb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/Demo/Source/MainWindow.cpp

+ 1
- 1
examples/Demo/Source/MainWindow.cpp View File

@@ -561,7 +561,7 @@ AudioDeviceManager& MainAppWindow::getSharedAudioDeviceManager()
RuntimePermissions::request (
RuntimePermissions::recordAudio,
[&] (bool wasGranted) {
[] (bool wasGranted) {
int numInputChannels = wasGranted ? 2 : 0;
sharedAudioDeviceManager->initialise (numInputChannels, 2, nullptr, true, String(), nullptr);
}


Loading…
Cancel
Save