Skip to content

Commit

Permalink
feat(Common): delete ACE inherited (azerothcore#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfidonarleyan authored Jul 16, 2021
1 parent 04e8e37 commit 351e3a6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions modules/mod-as-common/src/game/AzthFirstKills.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define AZTH_FIRST_KILL_H

#include "Common.h"
#include <ace/Singleton.h>
#include "DatabaseEnv.h"
#include "DBCEnums.h"
#include "DBCStores.h"
Expand All @@ -21,8 +20,8 @@ enum FirstKills:uint32 {
ACHI_FALL_OF_LK=4576, //-- "Fall of the Lich King",
};

class AzthFirstKills {
friend class ACE_Singleton<AzthFirstKills, ACE_Null_Mutex>;
class AzthFirstKills
{
public:
static AzthFirstKills* instance();

Expand All @@ -34,6 +33,6 @@ class AzthFirstKills {
std::map<uint32 /*achiID*/, std::chrono::system_clock::time_point /*completionTime*/> currentFirstKills;
};

#define sAzthFirstKills AzthFirstKills::instance()
#define sAzthFirstKills AzthFirstKills::instance()

#endif

0 comments on commit 351e3a6

Please sign in to comment.