mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 06:00:10 -04:00
Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance)
This commit is contained in:
@@ -66,11 +66,7 @@ class SystemMgr
|
||||
~SystemMgr() { }
|
||||
|
||||
public:
|
||||
static SystemMgr* instance()
|
||||
{
|
||||
static SystemMgr instance;
|
||||
return &instance;
|
||||
}
|
||||
static SystemMgr* instance();
|
||||
|
||||
typedef std::unordered_map<uint32, ScriptPointVector> PointMoveMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user