summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-04 18:23:18 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-04 18:23:27 +0200
commit110d5784702282c594fe57f84f8d6bda21a82d50 (patch)
tree4d4d2267784e1e0baa76dfb656b91503118f89b0 /src/core/file_sys/patch_manager.cpp
parentips_layer: Deduplicate resource usage (diff)
downloadyuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar.gz
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar.bz2
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar.lz
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar.xz
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.tar.zst
yuzu-110d5784702282c594fe57f84f8d6bda21a82d50.zip
Diffstat (limited to '')
-rw-r--r--src/core/file_sys/patch_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index 03df24906..ab2e5e43d 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -76,7 +76,7 @@ VirtualDir PatchManager::PatchExeFS(VirtualDir exefs) const {
static std::vector<VirtualFile> CollectPatches(const std::vector<VirtualDir>& patch_dirs,
const std::string& build_id) {
std::vector<VirtualFile> out;
- ips.reserve(patch_dirs.size());
+ out.reserve(patch_dirs.size());
for (const auto& subdir : patch_dirs) {
auto exefs_dir = subdir->GetSubdirectory("exefs");
if (exefs_dir != nullptr) {