mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Silence deprecation warning (implicit capture of this on [=])
This commit is contained in:
parent
1bc9fd2863
commit
4bc431ec31
31 changed files with 249 additions and 247 deletions
|
@ -74,7 +74,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
pad::get_current_handler()->SetEnabled(enable);
|
||||
};
|
||||
|
||||
callbacks.init_kb_handler = [=]()
|
||||
callbacks.init_kb_handler = [=, this]()
|
||||
{
|
||||
switch (keyboard_handler type = g_cfg.io.keyboard)
|
||||
{
|
||||
|
@ -94,7 +94,7 @@ EmuCallbacks main_application::CreateCallbacks()
|
|||
}
|
||||
};
|
||||
|
||||
callbacks.init_mouse_handler = [=]()
|
||||
callbacks.init_mouse_handler = [=, this]()
|
||||
{
|
||||
switch (mouse_handler type = g_cfg.io.mouse)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue