From b23190393248455f04d3a06def030a1ec7efad1e Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 4 Sep 2020 13:38:24 +0200 Subject: Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port --- src/server/worldserver/CommandLine/CliRunnable.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/worldserver/CommandLine') diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index 5c3f8e25391..200f78f0957 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -38,10 +38,10 @@ #include #include -char* command_finder(const char* text, int state) +char* command_finder(char const* text, int state) { static size_t idx, len; - const char* ret; + char const* ret; std::vector const& cmd = ChatHandler::getCommandTable(); if (!state) @@ -68,7 +68,7 @@ char* command_finder(const char* text, int state) return nullptr; } -char** cli_completion(const char* text, int start, int /*end*/) +char** cli_completion(char const* text, int start, int /*end*/) { char** matches = nullptr; @@ -88,7 +88,7 @@ int cli_hook_func() #endif -void utf8print(void* /*arg*/, const char* str) +void utf8print(void* /*arg*/, char const* str) { #if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS wchar_t wtemp_buf[6000]; -- cgit v1.2.3