mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-25 00:00:45 +01: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. |
||
---|---|---|
.. | ||
bpc_mitm | ||
fs_mitm | ||
ns_mitm | ||
set_mitm | ||
amsmitm_main.cpp | ||
amsmitm_modules.cpp | ||
amsmitm_modules.hpp | ||
debug.cpp | ||
debug.hpp | ||
ini.c | ||
ini.h | ||
utils.cpp | ||
utils.hpp |