mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
fix for newer boost
This commit is contained in:
@@ -28,8 +28,12 @@ void ServerDiscovery::abort()
|
||||
{
|
||||
if(sendTimer)
|
||||
{
|
||||
#if BOOST_VERSION >= 108700
|
||||
sendTimer->cancel();
|
||||
#else
|
||||
boost::system::error_code ec;
|
||||
sendTimer->cancel(ec);
|
||||
#endif
|
||||
}
|
||||
if(socket)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user