commit d4fc10ecf9fc96660d63fd21ae3c35ef958e8578
parent 640da5551edd293e8d4b9741d326aa97eea7c152
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Wed, 30 Oct 2024 23:12:09 +0100
fix warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/virusJucePlugin/VirusEditor.cpp b/source/virusJucePlugin/VirusEditor.cpp
@@ -94,7 +94,7 @@ namespace genericVirusUI
m_romSelector->setSelectedId(static_cast<int>(m_processor.getSelectedRomIndex()) + 1, juce::dontSendNotification);
- m_romSelector->onChange = [this, roms]
+ m_romSelector->onChange = [this]
{
const auto oldIndex = m_processor.getSelectedRomIndex();
const auto newIndex = m_romSelector->getSelectedId() - 1;