Fixed a GCC internal error when compiling AsyncAcceptor
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
using boost::asio::ip::tcp;
|
||||
using boost::asio::streambuf;
|
||||
|
||||
WorldSocket::WorldSocket(tcp::socket socket)
|
||||
WorldSocket::WorldSocket(tcp::socket&& socket)
|
||||
: _socket(std::move(socket)), _authSeed(static_cast<uint32>(rand32())), _worldSession(nullptr), _OverSpeedPings(0)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user