summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/Control/Control.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/Control/Control.h')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/Control/Control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/Control/Control.h b/Source/Core/InputCommon/ControllerEmu/Control/Control.h
index bfdd54dd60..4a1bb585de 100644
--- a/Source/Core/InputCommon/ControllerEmu/Control/Control.h
+++ b/Source/Core/InputCommon/ControllerEmu/Control/Control.h
@@ -23,7 +23,7 @@ public:
virtual ~Control();
template <typename T = ControlState>
- T GetState()
+ T GetState() const
{
return control_ref->GetState<T>();
}