From 9d60e1b147a5525746d5fc1c6d8222e732535e5b Mon Sep 17 00:00:00 2001 From: Axel Cocat Date: Tue, 9 May 2023 15:59:00 +0200 Subject: [PATCH] style: change DBQueryAsync to static --- 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 f42922a..00158e8 100644 --- a/src/LuaEngine/GlobalMethods.h +++ b/src/LuaEngine/GlobalMethods.h @@ -1273,7 +1273,7 @@ namespace LuaGlobalFunctions } template - int DBQueryAsync(lua_State* L, DatabaseWorkerPool& db) + static int DBQueryAsync(lua_State* L, DatabaseWorkerPool& db) { const char* query = Eluna::CHECKVAL(L, 1); luaL_checktype(L, 2, LUA_TFUNCTION);