From 266516305af6138dd82d24485b8927dd3a2e15fb Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Thu, 29 Dec 2022 14:46:41 +0100 Subject: [PATCH] fix: modules ci build (#80) --- src/LuaEngine/GlobalMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaEngine/GlobalMethods.h b/src/LuaEngine/GlobalMethods.h index 951a0c0..fde229b 100644 --- a/src/LuaEngine/GlobalMethods.h +++ b/src/LuaEngine/GlobalMethods.h @@ -1229,7 +1229,7 @@ namespace LuaGlobalFunctions { const char* command = Eluna::CHECKVAL(L, 1); #if defined TRINITY || AZEROTHCORE - eWorld->QueueCliCommand(new CliCommandHolder(nullptr, command, [](void* obj, std::string_view view) + eWorld->QueueCliCommand(new CliCommandHolder(nullptr, command, [](void*, std::string_view view) { std::string str = { view.begin(), view.end() }; str.erase(std::find_if(str.rbegin(), str.rend(), [](unsigned char ch) { return !std::isspace(ch); }).base(), str.end()); // Remove trailing spaces and line breaks