mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
refactor(Core): apply clang-tidy modernize-use-default-member-init (#3827)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "RealmList.h"
|
||||
#include "DatabaseEnv.h"
|
||||
|
||||
RealmList::RealmList() : m_UpdateInterval(0), m_NextUpdateTime(time(nullptr)) { }
|
||||
RealmList::RealmList() : m_NextUpdateTime(time(nullptr)) { }
|
||||
|
||||
RealmList* RealmList::instance()
|
||||
{
|
||||
|
||||
@@ -63,7 +63,7 @@ private:
|
||||
void UpdateRealm(uint32 id, const std::string& name, ACE_INET_Addr const& address, ACE_INET_Addr const& localAddr, ACE_INET_Addr const& localSubmask, uint8 icon, RealmFlags flag, uint8 timezone, AccountTypes allowedSecurityLevel, float popu, uint32 build);
|
||||
|
||||
RealmMap m_realms;
|
||||
uint32 m_UpdateInterval;
|
||||
uint32 m_UpdateInterval{0};
|
||||
time_t m_NextUpdateTime;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user