mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Fix build on systems where size_t is not defined as uintXX_t, i.e. Mac
(cherry picked from commit 8fcf59f9db)
This commit is contained in:
@@ -281,9 +281,9 @@ extern int main(int argc, char** argv)
|
||||
sMetric->Initialize(realm.Name, *ioContext, []()
|
||||
{
|
||||
TC_METRIC_VALUE("online_players", sWorld->GetPlayerCount());
|
||||
TC_METRIC_VALUE("db_queue_login", LoginDatabase.QueueSize());
|
||||
TC_METRIC_VALUE("db_queue_character", CharacterDatabase.QueueSize());
|
||||
TC_METRIC_VALUE("db_queue_world", WorldDatabase.QueueSize());
|
||||
TC_METRIC_VALUE("db_queue_login", uint64(LoginDatabase.QueueSize()));
|
||||
TC_METRIC_VALUE("db_queue_character", uint64(CharacterDatabase.QueueSize()));
|
||||
TC_METRIC_VALUE("db_queue_world", uint64(WorldDatabase.QueueSize()));
|
||||
});
|
||||
|
||||
TC_METRIC_EVENT("events", "Worldserver started", "");
|
||||
|
||||
Reference in New Issue
Block a user