mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Attempt to fix centos compile
This commit is contained in:
@@ -181,7 +181,7 @@ void AuthSession::AsyncWrite(ByteBuffer& packet)
|
||||
_writeQueue.push(std::move(packet));
|
||||
|
||||
if (needsWriteStart)
|
||||
Base::AsyncWrite(_writeQueue.front());
|
||||
AuthSocket::AsyncWrite(_writeQueue.front());
|
||||
}
|
||||
|
||||
bool AuthSession::HandleLogonChallenge()
|
||||
|
||||
@@ -32,7 +32,7 @@ struct AuthHandler;
|
||||
|
||||
class AuthSession : public Socket<AuthSession, ByteBuffer>
|
||||
{
|
||||
typedef Socket<AuthSession, ByteBuffer> Base;
|
||||
typedef Socket<AuthSession, ByteBuffer> AuthSocket;
|
||||
|
||||
public:
|
||||
static std::unordered_map<uint8, AuthHandler> InitHandlers();
|
||||
@@ -48,7 +48,6 @@ public:
|
||||
AsyncReadHeader();
|
||||
}
|
||||
|
||||
using Base::AsyncWrite;
|
||||
void AsyncWrite(ByteBuffer& packet);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -613,7 +613,7 @@ void Battlenet::Session::AsyncWrite(ServerPacket* packet)
|
||||
_writeQueue.push(packet);
|
||||
|
||||
if (needsWriteStart)
|
||||
Base::AsyncWrite(_writeQueue.front());
|
||||
BattlenetSocket::AsyncWrite(_writeQueue.front());
|
||||
}
|
||||
|
||||
inline void ReplaceResponse(Battlenet::ServerPacket** oldResponse, Battlenet::ServerPacket* newResponse)
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace Battlenet
|
||||
|
||||
class Session : public Socket<Session, ServerPacket*>
|
||||
{
|
||||
typedef Socket<Session, ServerPacket*> Base;
|
||||
typedef Socket<Session, ServerPacket*> BattlenetSocket;
|
||||
|
||||
public:
|
||||
explicit Session(tcp::socket&& socket);
|
||||
|
||||
Reference in New Issue
Block a user