mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 16:24:55 +00:00
Console: Make commandExists() a const qualified member function
This doesn't modify internal console state, so it can be turned into a const qualified member function.
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
|
||||
void help(Console* con, const std::vector<std::string>& args);
|
||||
void listCommands(Console* con, const std::vector<std::string>& args);
|
||||
bool commandExists(std::string_view cmd);
|
||||
bool commandExists(std::string_view cmd) const;
|
||||
|
||||
void vreport(Level level, fmt::string_view format, fmt::format_args args);
|
||||
template <typename S, typename... Args, typename Char = fmt::char_t<S>>
|
||||
|
||||
Reference in New Issue
Block a user