2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-05 05:55:52 +00:00
Lioncash 7fbdf384de Console: Reuse iterator in unregisterCommand()
We can use the result of the first lookup to avoid doing another
redundant lookup to perform the erasure.

While we're at it, we can use std::string's std::string_view constructor
in order to avoid an unnecessary strlen() call.
2019-10-21 01:07:41 -04:00
Description
Data interchange, editor suite, and runtime re-implementations for games by Retro Studios
MIT 53 MiB
Languages
C++ 94.2%
C 4.5%
CMake 1.2%