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

This commit is contained in:
Henrik Rydgård committed 2025-04-29 16:46:14 +02:00
1 parent 62e4b2852c
commit dbe6ec80a0
17 files changed
+31 -27

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ std::vector<Path> DiskCachingFileLoader::GetCachedPathsInUse() {
std::vector<Path> files;
files.reserve(caches_.size());
for (auto it : caches_) {
for (const auto &it : caches_) {
files.push_back(it.first);
}