mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
refs #937 Resolved clazy warnings: pass-by-value/reference.
This commit is contained in:
@@ -72,7 +72,7 @@ namespace BlackCore
|
||||
void CInputManager::ps_changeHotkeySettings()
|
||||
{
|
||||
m_configuredActions.clear();
|
||||
for (CActionHotkey actionHotkey : m_actionHotkeys.getThreadLocal())
|
||||
for (const CActionHotkey &actionHotkey : m_actionHotkeys.getThreadLocal())
|
||||
{
|
||||
if (!actionHotkey.getApplicableMachine().isFromLocalMachine()) { continue; }
|
||||
CHotkeyCombination combination = actionHotkey.getCombination();
|
||||
|
||||
Reference in New Issue
Block a user