[C++] Zone Block

–edited

typedef UNORDERED_MAP<uint32, ZB_Data> ZB_DataMap;
typedef UNORDERED_MAP<uint32, ZB_ExitLoc> ZB_A_ExitLocMap;
[COLOR=rgb(102,102,0)]change to =>

typedef std::unordered_map<uint32, ZB_Data> ZB_DataMap; typedef std::unordered_map<uint32, ZB_ExitLoc> ZB_A_ExitLocMap;

Why no simply use spell_area?

–edited

Just remove #include <ace/Singleton.h> and replace #define sZoneBlockerMgr ACE_Singleton<ZoneBlockerMgr, ACE_Null_Mutex>::instance() with a:

static instance:

showed here https://github.com/TrinityCore/TrinityCore/blob/6.x/src/server/game/Guilds/GuildMgr.h#L30 and here https://github.com/TrinityCore/TrinityCore/blob/6.x/src/server/game/Guilds/GuildMgr.h#L65 .

or a boost singleton:

#include <boost/serialization/singleton.hpp>

#define sZoneBlockerMgr boost::serialization::singleton<ZoneBlockerMgr>::get_mutable_instance()

/emoticons/default_smile.png thank you , I also change pointers /emoticons/default_happy.png