mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
Fix Clazy range-loop-detach warnings
This commit is contained in:
1 parent
f5f06ae44e
commit
d484ec3ac8
14 files changed
+42
-35
No files matched your search
@@ -1596,7 +1596,7 @@ bool Session::startConnectionAsync()
|
||||
// the chosen resolution. Avoid that by disabling SOPS when it
|
||||
// is not streaming a supported resolution.
|
||||
enableGameOptimizations = false;
|
||||
for (const NvDisplayMode &mode : m_Computer->displayModes) {
|
||||
for (const NvDisplayMode &mode : std::as_const(m_Computer->displayModes)) {
|
||||
if (mode.width == m_StreamConfig.width &&
|
||||
mode.height == m_StreamConfig.height) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
|
||||
Reference in new issue
Block a user