summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-02-11 00:29:22 -0500
committerLioncash <mathew1800@gmail.com>2017-02-11 00:31:49 -0500
commit98145d216044c49d77e0096c53233ebe9bcb0a0a (patch)
tree25e884f253a4068d01076b3022bed7f90e640740 /Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
parent2cad67952d611c15b7b040512c53af27243235c3 (diff)
ControllerEmu: Add const to UpdateReferences() first reference parameter
None of these parameters are modified.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
index 2aa65b3d42..ce09966d2d 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
@@ -30,7 +30,7 @@ std::unique_lock<std::recursive_mutex> EmulatedController::GetStateLock()
return lock;
}
-void EmulatedController::UpdateReferences(ControllerInterface& devi)
+void EmulatedController::UpdateReferences(const ControllerInterface& devi)
{
const auto lock = GetStateLock();
for (auto& ctrlGroup : groups)