Explorar el Código

Merge pull request #2582 from lioncash/reserved

file_sys/ips_layer: Remove unnecessary reserve() call
bunnei hace 7 años
padre
commit
0360c40e90
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/core/file_sys/ips_layer.cpp

+ 0 - 1
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);
                 }