Merge pull request #2582 from lioncash/reserved

file_sys/ips_layer: Remove unnecessary reserve() call
This commit is contained in:
bunnei 2019-06-14 11:24:18 -04:00 committed by GitHub
commit 0360c40e90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}