style: change DBQueryAsync to static

This commit is contained in:
Axel Cocat
2023-05-09 15:59:00 +02:00
parent 97ca3dabf0
commit 9d60e1b147

View File

@@ -1273,7 +1273,7 @@ namespace LuaGlobalFunctions
}
template <typename T>
int DBQueryAsync(lua_State* L, DatabaseWorkerPool<T>& db)
static int DBQueryAsync(lua_State* L, DatabaseWorkerPool<T>& db)
{
const char* query = Eluna::CHECKVAL<const char*>(L, 1);
luaL_checktype(L, 2, LUA_TFUNCTION);