aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/CommandLine
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/worldserver/CommandLine')
-rw-r--r--src/server/worldserver/CommandLine/CliRunnable.cpp8
1 files changed, 4 insertions, 4 deletions
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 <readline/readline.h>
#include <readline/history.h>
-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<ChatCommand> 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];