From da12f3eebc47f3928f7a8e9176549267e579df68 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 22 Feb 2020 10:27:43 -0600 Subject: InputCommon: Constify Device::Input::IsDetectable function. --- Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp index f372812388..029ea22d3c 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp @@ -178,7 +178,7 @@ public: return std::string(motion_data_names[m_code]) + (m_range < 0 ? '-' : '+'); } - bool IsDetectable() override { return false; } + bool IsDetectable() const override { return false; } }; class CursorInput final : public Axis @@ -192,7 +192,7 @@ public: return std::string("Cursor ") + char('X' + m_code) + (m_range < 0 ? '-' : '+'); } - bool IsDetectable() override { return false; } + bool IsDetectable() const override { return false; } }; static std::thread s_hotplug_thread; -- cgit v1.2.3