summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-06-14 17:24:18 +0200
committerGitHub <noreply@github.com>2019-06-14 17:24:18 +0200
commit0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd (patch)
treee2c4f06e4d3ef6fb65ed30093312b99274328ce9 /src/core
parentMerge pull request #2580 from lioncash/redundant (diff)
parentfile_sys/ips_layer: Remove unnecessary reserve() call (diff)
downloadyuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar.gz
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar.bz2
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar.lz
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar.xz
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.tar.zst
yuzu-0360c40e90eda9ad0cf9db3a3ee638d68d16d5bd.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/file_sys/ips_layer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp
index 485c4913a..2635acb9c 100644
--- a/src/core/file_sys/ips_layer.cpp
+++ b/src/core/file_sys/ips_layer.cpp
@@ -287,7 +287,6 @@ void IPSwitchCompiler::Parse() {
} else {
// hex replacement
const auto value = patch_line.substr(9);
- replace.reserve(value.size() / 2);
replace = Common::HexStringToVector(value, is_little_endian);
}