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 { } else {
// hex replacement // hex replacement
const auto value = patch_line.substr(9); const auto value = patch_line.substr(9);
replace.reserve(value.size() / 2);
replace = Common::HexStringToVector(value, is_little_endian); replace = Common::HexStringToVector(value, is_little_endian);
} }