diff options
| author | JosJuice <josjuice@gmail.com> | 2017-02-11 09:27:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-11 09:27:37 +0100 |
| commit | d19aabb55b5f6cd74b7060d4f51d46d8e7a03ad5 (patch) | |
| tree | 2f7585b2c0234bb5c001f11b1602756e60a0011b /Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp | |
| parent | e568d570223054bf7cb60adc0e17b8360d87fdad (diff) | |
| parent | 98145d216044c49d77e0096c53233ebe9bcb0a0a (diff) | |
Merge pull request #4895 from lioncash/const
ControllerEmu: Add const to UpdateReferences() first reference parameter
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp | 2 |
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) |
