Merge pull request #2582 from lioncash/reserved
file_sys/ips_layer: Remove unnecessary reserve() call
This commit is contained in:
commit
0360c40e90
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue