mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-17 05:03:07 +00:00
dd10547ac2
The previous string construction discards two temporary std::string instances (operator+ returns by value, not by reference), and creates a std::string that it doesn't need to (the one around key). Instead we can just append to the end of the initial std::string itself, saving on two unnecessary created strings. append() has a const char* overload as well (as does operator+), so we can just append the key string as is without creating an entire new string. |
||
---|---|---|
.. | ||
set_mitm_service.cpp | ||
set_mitm_service.hpp | ||
set_shim.c | ||
set_shim.h | ||
setmitm_main.cpp | ||
setmitm_main.hpp | ||
setsys_firmware_version.cpp | ||
setsys_firmware_version.hpp | ||
setsys_mitm_service.cpp | ||
setsys_mitm_service.hpp | ||
setsys_settings_items.cpp | ||
setsys_settings_items.hpp | ||
setsys_shim.c | ||
setsys_shim.h |