mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Fix Clazy range-loop-detach warnings
This commit is contained in:
@@ -150,7 +150,7 @@ public:
|
||||
// interrupt() should have taken care of this
|
||||
Q_ASSERT(m_ActiveThread == nullptr);
|
||||
|
||||
for (QThread* thread : m_InactiveList) {
|
||||
for (QThread* thread : std::as_const(m_InactiveList)) {
|
||||
thread->wait();
|
||||
delete thread;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user