InputCommon/XInput2: Fix shadowing warning

This commit is contained in:
Pokechu22 2023-02-02 15:36:15 -08:00
parent edcc4a6578
commit 7fafb00561
1 changed files with 2 additions and 2 deletions

View File

@ -151,9 +151,9 @@ void KeyboardMouse::SelectEventsForDevice(XIEventMask* mask, int deviceid)
} }
KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboard, KeyboardMouse::KeyboardMouse(Window window, int opcode, int pointer, int keyboard,
double scroll_increment) double scroll_increment_)
: m_window(window), xi_opcode(opcode), pointer_deviceid(pointer), keyboard_deviceid(keyboard), : m_window(window), xi_opcode(opcode), pointer_deviceid(pointer), keyboard_deviceid(keyboard),
scroll_increment(scroll_increment) scroll_increment(scroll_increment_)
{ {
// The cool thing about each KeyboardMouse object having its own Display // The cool thing about each KeyboardMouse object having its own Display
// is that each one gets its own separate copy of the X11 event stream, // is that each one gets its own separate copy of the X11 event stream,