mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
[Core/Debugger/FileLoaders/FileSystems/MIPS] Using reserve if possible
This commit is contained in:
@@ -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