From 0275ba9177180c7b45d5a73ebeeeffd88f46441a Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 2 Nov 2025 14:28:50 +0100 Subject: Core/Network: Build fix for older boost versions --- src/common/network/Socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/network/Socket.h') diff --git a/src/common/network/Socket.h b/src/common/network/Socket.h index aa2060691d5..5aca0368b90 100644 --- a/src/common/network/Socket.h +++ b/src/common/network/Socket.h @@ -459,7 +459,7 @@ struct Connect else { #if BOOST_VERSION >= 107700 - if (handler.cancelled() != boost::asio::cancellation_type::none) + if (handler.get_cancellation_state().cancelled() != boost::asio::cancellation_type::none) { Connect::HandleError(socket.get(), "connect cancelled"); error = boost::asio::error::operation_aborted; -- cgit v1.2.3