Skip to content

Commit

Permalink
Remove wrong reserve call. Fixes new crash reported in #15932
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 2, 2024
1 parent cd8b79f commit 2193dca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Core/FileSystems/ISOFileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,6 @@ 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];

Expand Down

0 comments on commit 2193dca

Please sign in to comment.