Browse Source
Merge pull request #2582 from lioncash/reserved
file_sys/ips_layer: Remove unnecessary reserve() call
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
|
|
|
|
|