mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-10 17:56:26 +00:00
Fix Clazy range-loop-detach warnings
This commit is contained in:
@@ -261,7 +261,7 @@ void SdlInputHandler::raiseAllKeys()
|
||||
"Raising %d keys",
|
||||
(int)m_KeysDown.count());
|
||||
|
||||
for (auto keyDown : m_KeysDown) {
|
||||
for (auto keyDown : std::as_const(m_KeysDown)) {
|
||||
LiSendKeyboardEvent(keyDown, KEY_ACTION_UP, 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user