Attempt to fix centos compile

This commit is contained in:
Shauren
2014-07-28 10:15:31 +02:00
parent c8a241c49e
commit fc687effce
4 changed files with 4 additions and 5 deletions

View File

@@ -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()

View File

@@ -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:

View File

@@ -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)

View File

@@ -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);