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/XInput/XInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp index 14462165fa..875cce4730 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp @@ -118,7 +118,7 @@ public: Battery(const ControlState* level) : m_level(*level) {} std::string GetName() const override { return "Battery"; } ControlState GetState() const override { return m_level; } - bool IsDetectable() override { return false; } + bool IsDetectable() const override { return false; } private: const ControlState& m_level; -- cgit v1.2.3