aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-07-10 13:36:54 -0500
committerSubv <subv2112@gmail.com>2014-07-10 13:36:54 -0500
commite84ba172a7aa6df6541460ea279c0e65875f9e45 (patch)
treec60a3ab70cc16f08f2fb7065b686bdae8e69089f /src/server/authserver/Server/AuthSession.h
parent375363ed08069b6aa7a921e35fdd1cc7affc946e (diff)
Fixed a GCC internal error when compiling AsyncAcceptor
Diffstat (limited to 'src/server/authserver/Server/AuthSession.h')
-rw-r--r--src/server/authserver/Server/AuthSession.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h
index 3aef4262786..4ae33f44cb3 100644
--- a/src/server/authserver/Server/AuthSession.h
+++ b/src/server/authserver/Server/AuthSession.h
@@ -33,7 +33,7 @@ const size_t bufferSize = 4096;
class AuthSession : public std::enable_shared_from_this < AuthSession >
{
public:
- AuthSession(tcp::socket socket) : _socket(std::move(socket))
+ AuthSession(tcp::socket&& socket) : _socket(std::move(socket))
{
N.SetHexStr("894B645E89E1535BBDAD5B8B290650530801B18EBFBF5E8FAB3C82872A3E9BB7");
g.SetDword(7);