mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
refactor(Core): apply clang-tidy modernize-redundant-void-arg (#3825)
This commit is contained in:
@@ -118,7 +118,7 @@ typedef struct AuthHandler
|
||||
{
|
||||
eAuthCmd cmd;
|
||||
uint32 status;
|
||||
bool (AuthSocket::*handler)(void);
|
||||
bool (AuthSocket::*handler)();
|
||||
} AuthHandler;
|
||||
|
||||
// GCC have alternative #pragma pack() syntax and old gcc version not support pack(pop), also any gcc version not support it at some paltform
|
||||
@@ -188,15 +188,15 @@ AuthSocket::AuthSocket(RealmSocket& socket) :
|
||||
}
|
||||
|
||||
// Close patch file descriptor before leaving
|
||||
AuthSocket::~AuthSocket(void) { }
|
||||
AuthSocket::~AuthSocket() { }
|
||||
|
||||
// Accept the connection
|
||||
void AuthSocket::OnAccept(void)
|
||||
void AuthSocket::OnAccept()
|
||||
{
|
||||
sLog->outBasic("'%s:%d' Accepting connection", socket().getRemoteAddress().c_str(), socket().getRemotePort());
|
||||
}
|
||||
|
||||
void AuthSocket::OnClose(void)
|
||||
void AuthSocket::OnClose()
|
||||
{
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "AuthSocket::OnClose");
|
||||
|
||||
Reference in New Issue
Block a user