Fix some bad "for (auto x : y)" usage

This commit is contained in:
Henrik Rydgård
2025-04-29 16:46:14 +02:00
parent 62e4b2852c
commit dbe6ec80a0
17 changed files with 31 additions and 27 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ std::shared_ptr<Request> RequestManager::AsyncPostWithCallback(
}
void RequestManager::Update() {
for (auto iter : newDownloads_) {
for (auto &iter : newDownloads_) {
downloads_.push_back(iter);
}
newDownloads_.clear();