Core/ChatCommands: C++17 cleanup (again) (PR #25323)

This commit is contained in:
Treeston
2020-08-30 02:50:25 +02:00
committed by GitHub
parent c08180d9bc
commit 2f7d2ef3e9
11 changed files with 545 additions and 538 deletions
+2 -2
View File
@@ -1706,7 +1706,7 @@ public:
return true;
}
static bool HandleDebugOutOfBounds([[maybe_unused]] ChatHandler* handler, CommandArgs* /*args*/)
static bool HandleDebugOutOfBounds([[maybe_unused]] ChatHandler* handler)
{
#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, CommandArgs* /*args*/)
static bool HandleDebugDummyCommand(ChatHandler* handler)
{
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;