From Sharp Tapir, 11 Months ago, written in Diff-output.
Embed
  1. diff --git a/src/server/game/World/World.h b/src/server/game/World/World.h
  2. index a4ad1b6..8859b64 100644
  3. --- a/src/server/game/World/World.h
  4. +++ b/src/server/game/World/World.h
  5. @@ -565,9 +565,9 @@ class World
  6.          /// Get the number of current active sessions
  7.          void UpdateMaxSessionCounters();
  8.          const SessionMap& GetAllSessions() const { return m_sessions; }
  9. -        uint32 GetActiveAndQueuedSessionCount() const { return m_sessions.size(); }
  10. -        uint32 GetActiveSessionCount() const { return m_sessions.size() - m_QueuedPlayer.size(); }
  11. -        uint32 GetQueuedSessionCount() const { return m_QueuedPlayer.size(); }
  12. +        std::size_t GetActiveAndQueuedSessionCount() const { return m_sessions.size(); }
  13. +        std::size_t GetActiveSessionCount() const { return m_sessions.size() - m_QueuedPlayer.size(); }
  14. +        std::size_t GetQueuedSessionCount() const { return m_QueuedPlayer.size(); }
  15.          /// Get the maximum number of parallel sessions on the server since last reboot
  16.          uint32 GetMaxQueuedSessionCount() const { return m_maxQueuedSessionCount; }
  17.          uint32 GetMaxActiveSessionCount() const { return m_maxActiveSessionCount; }
  18.