mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Restore -Wenum-compare and fix some [=] warnings
This commit is contained in:
parent
0ee2f761ae
commit
8a176de6a1
5 changed files with 7 additions and 8 deletions
|
@ -292,7 +292,7 @@ void evdev_joystick_handler::get_next_button_press(const std::string& padId, con
|
|||
|
||||
auto data = GetButtonValues(device);
|
||||
|
||||
auto find_value = [=](const std::string& name)
|
||||
auto find_value = [=, this](const std::string& name)
|
||||
{
|
||||
int key = FindKeyCodeByString(rev_axis_list, name, false);
|
||||
bool dir = key >= 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue