mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Fix some bad "for (auto x : y)" usage
This commit is contained in:
1 parent
62e4b2852c
commit
dbe6ec80a0
17 files changed
+31
-27
No files matched your search
@@ -116,7 +116,7 @@ void CachingFileLoader::ShutdownCache() {
|
||||
aheadThread_.join();
|
||||
|
||||
std::lock_guard<std::recursive_mutex> guard(blocksMutex_);
|
||||
for (auto block : blocks_) {
|
||||
for (const auto &block : blocks_) {
|
||||
delete [] block.second.ptr;
|
||||
}
|
||||
blocks_.clear();
|
||||
|
||||
Reference in new issue
Block a user