mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
boost 1.87
This commit is contained in:
@@ -199,7 +199,11 @@ void NetworkConnection::close()
|
||||
{
|
||||
boost::system::error_code ec;
|
||||
socket->close(ec);
|
||||
#if BOOST_VERSION >= 108700
|
||||
timer->cancel();
|
||||
#else
|
||||
timer->cancel(ec);
|
||||
#endif
|
||||
|
||||
//NOTE: ignoring error code, intended
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user