diff options
| author | Zopolis4 <creatorsmithmdt@gmail.com> | 2022-08-08 11:25:19 +1000 |
|---|---|---|
| committer | Zopolis4 <creatorsmithmdt@gmail.com> | 2022-08-08 11:25:19 +1000 |
| commit | e54818e60dc820962290ef3600fc77a7882ba98e (patch) | |
| tree | aca42f773cc358eec72b0c312e83112886441bdd /Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp | |
| parent | e638bb658fa2bbaa6e46148816598fe3ab79dc6e (diff) | |
Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20" warning
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Graphics/AdvancedWidget.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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); |
