mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00: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
@@ -646,7 +646,7 @@ void MetaFileSystem::DoState(PointerWrap &p) {
|
||||
int64_t MetaFileSystem::RecursiveSize(const std::string &dirPath) {
|
||||
u64 result = 0;
|
||||
auto allFiles = GetDirListing(dirPath);
|
||||
for (auto file : allFiles) {
|
||||
for (const auto &file : allFiles) {
|
||||
if (file.name == "." || file.name == "..")
|
||||
continue;
|
||||
if (file.type == FILETYPE_DIRECTORY) {
|
||||
|
||||
Reference in new issue
Block a user