mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ControllerEmu: Add const to UpdateReferences() first reference parameter
None of these parameters are modified.
This commit is contained in:
parent
2cad67952d
commit
98145d2160
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue