Revert "[3.3.5] Core/ChatCommands: C++17 cleanup (if constexpr + std::string_view)"

This reverts commit 11c4a60fbe.
This commit is contained in:
Treeston
2020-08-24 16:38:39 +02:00
parent 11c4a60fbe
commit fd05a35341
13 changed files with 532 additions and 557 deletions
+2 -2
View File
@@ -1706,7 +1706,7 @@ public:
return true;
}
static bool HandleDebugOutOfBounds([[maybe_unused]] ChatHandler* handler)
static bool HandleDebugOutOfBounds([[maybe_unused]] ChatHandler* handler, CommandArgs* /*args*/)
{
#ifdef ASAN
uint8 stack_array[10] = {};
@@ -1852,7 +1852,7 @@ public:
handler->PSendSysMessage("Entry: %u Count: %u", p.first, p.second);
}
static bool HandleDebugDummyCommand(ChatHandler* handler)
static bool HandleDebugDummyCommand(ChatHandler* handler, CommandArgs* /*args*/)
{
handler->SendSysMessage("This command does nothing right now. Edit your local core (cs_debug.cpp) to make it do whatever you need for testing.");
return true;