From 7fafb005611bfc285ba5c32de15d92fb66b99e46 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 2 Feb 2023 15:36:15 -0800 Subject: [PATCH] InputCommon/XInput2: Fix shadowing warning --- Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp index c0594b6662..36371fd368 100644 --- a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp @@ -151,9 +151,9 @@ void KeyboardMouse::SelectEventsForDevice(XIEventMask* mask, int deviceid) } 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), - scroll_increment(scroll_increment) + scroll_increment(scroll_increment_) { // 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,