mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Database: Move singleton instances into compilation units
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance) * Also instantiate the database worker pools in DatabaseEnv.cpp now.
This commit is contained in:
@@ -80,10 +80,6 @@ uint32 _worldLoopCounter(0);
|
||||
uint32 _lastChangeMsTime(0);
|
||||
uint32 _maxCoreStuckTimeInMs(0);
|
||||
|
||||
WorldDatabaseWorkerPool WorldDatabase; ///< Accessor to the world database
|
||||
CharacterDatabaseWorkerPool CharacterDatabase; ///< Accessor to the character database
|
||||
HotfixDatabaseWorkerPool HotfixDatabase; ///< Accessor to the hotfix database
|
||||
LoginDatabaseWorkerPool LoginDatabase; ///< Accessor to the realm/login database
|
||||
Realm realm;
|
||||
|
||||
void SignalHandler(const boost::system::error_code& error, int signalNumber);
|
||||
|
||||
Reference in New Issue
Block a user