Core: Fix non pch build

This commit is contained in:
Vincent-Michael
2014-08-07 07:00:17 +02:00
parent 48b94c3beb
commit 8c73b2dbae

View File

@@ -91,7 +91,7 @@ public:
void CloseSocket()
{
boost::system::error_code shutdownError;
_socket.shutdown(socket_base::shutdown_both, shutdownError);
_socket.shutdown(boost::asio::socket_base::shutdown_both, shutdownError);
if (shutdownError)
TC_LOG_DEBUG("network", "Socket::CloseSocket: %s errored when shutting down socket: %i (%s)", GetRemoteIpAddress().to_string().c_str(),
shutdownError.value(), shutdownError.message().c_str());