From 33783f4e14359fd175421483d5dc53f2cc7c119c Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Thu, 18 Mar 2021 23:23:57 +0700 Subject: [PATCH] Guild --- GuildMethods.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/GuildMethods.h b/GuildMethods.h index 42fa417..64b8c19 100644 --- a/GuildMethods.h +++ b/GuildMethods.h @@ -36,10 +36,8 @@ namespace LuaGuild }); #else { -#ifdef TRINITY +#if defined TRINITY || AZEROTHCORE std::shared_lock lock(*HashMapHolder::GetLock()); -#elif defined(AZEROTHCORE) - ACORE_READ_GUARD(HashMapHolder::LockType, *HashMapHolder::GetLock()); #else HashMapHolder::ReadGuard g(HashMapHolder::GetLock()); #endif