mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
style: change DBQueryAsync to static
This commit is contained in:
@@ -1273,7 +1273,7 @@ namespace LuaGlobalFunctions
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
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);
|
const char* query = Eluna::CHECKVAL<const char*>(L, 1);
|
||||||
luaL_checktype(L, 2, LUA_TFUNCTION);
|
luaL_checktype(L, 2, LUA_TFUNCTION);
|
||||||
|
|||||||
Reference in New Issue
Block a user