mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
[Core/Debugger/FileLoaders/FileSystems/MIPS] Using reserve if possible
This commit is contained in:
1 parent
773bbbd648
commit
b871e76d05
14 files changed
+20
-3
No files matched your search
@@ -651,6 +651,7 @@ std::vector<PSPFileInfo> ISOFileSystem::GetDirListing(const std::string &path, b
|
||||
const std::string dot(".");
|
||||
const std::string dotdot("..");
|
||||
|
||||
myVector.reserve(entry->children.size() - 2);
|
||||
for (size_t i = 0; i < entry->children.size(); i++) {
|
||||
TreeEntry *e = entry->children[i];
|
||||
|
||||
|
||||
Reference in new issue
Block a user