fix for newer boost

This commit is contained in:
Laserlicht
2026-02-09 21:14:38 +01:00
committed by GitHub
parent 4e2acc8e07
commit 0bf8b7187a
+4
View File
@@ -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)
{