From e54818e60dc820962290ef3600fc77a7882ba98e Mon Sep 17 00:00:00 2001 From: Zopolis4 Date: Mon, 8 Aug 2022 11:25:19 +1000 Subject: =?UTF-8?q?Resolve=20"implicit=20capture=20of=20=E2=80=98this?= =?UTF-8?q?=E2=80=99=20via=20=E2=80=98[=3D]=E2=80=99=20is=20deprecated=20i?= =?UTF-8?q?n=20C++20"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp') diff --git a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp index 7a2570f97c..f1261c453e 100644 --- a/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp @@ -33,8 +33,9 @@ AdvancedWidget::AdvancedWidget(GraphicsWindow* parent) AddDescriptions(); connect(parent, &GraphicsWindow::BackendChanged, this, &AdvancedWidget::OnBackendChanged); - connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, - [=](Core::State state) { OnEmulationStateChanged(state != Core::State::Uninitialized); }); + connect(&Settings::Instance(), &Settings::EmulationStateChanged, this, [this](Core::State state) { + OnEmulationStateChanged(state != Core::State::Uninitialized); + }); OnBackendChanged(); OnEmulationStateChanged(Core::GetState() != Core::State::Uninitialized); -- cgit v1.2.3