mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
refactor(Core): apply clang-tidy modernize-use-default-member-init (#3827)
This commit is contained in:
@@ -17,8 +17,8 @@ RealmSocket::Session::Session() = default;
|
||||
RealmSocket::Session::~Session() = default;
|
||||
|
||||
RealmSocket::RealmSocket() :
|
||||
input_buffer_(4096), session_(nullptr),
|
||||
_remoteAddress(), _remotePort(0)
|
||||
input_buffer_(4096),
|
||||
_remoteAddress()
|
||||
{
|
||||
reference_counting_policy().value(ACE_Event_Handler::Reference_Counting_Policy::ENABLED);
|
||||
|
||||
|
||||
@@ -59,9 +59,9 @@ private:
|
||||
ssize_t noblk_send(ACE_Message_Block& message_block);
|
||||
|
||||
ACE_Message_Block input_buffer_;
|
||||
Session* session_;
|
||||
Session* session_{nullptr};
|
||||
std::string _remoteAddress;
|
||||
uint16 _remotePort;
|
||||
uint16 _remotePort{0};
|
||||
};
|
||||
|
||||
#endif /* __REALMSOCKET_H__ */
|
||||
|
||||
Reference in New Issue
Block a user