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