mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
Resolve "implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20" warning
This commit is contained in:
parent
e638bb658f
commit
e54818e60d
10 changed files with 29 additions and 23 deletions
|
@ -107,8 +107,9 @@ void WiiPane::ConnectLayout()
|
|||
connect(m_wiimote_motor, &QCheckBox::toggled, this, &WiiPane::OnSaveConfig);
|
||||
|
||||
// Emulation State
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
||||
void WiiPane::CreateMisc()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue