mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02: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
@@ -127,6 +127,7 @@ std::vector<Path> DiskCachingFileLoader::GetCachedPathsInUse() {
|
||||
|
||||
// This is on the file loader so that it can manage the caches_.
|
||||
std::vector<Path> files;
|
||||
files.reserve(caches_.size());
|
||||
|
||||
for (auto it : caches_) {
|
||||
files.push_back(it.first);
|
||||
|
||||
Reference in new issue
Block a user