diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-11-02 14:28:50 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-11-02 14:28:50 +0100 |
| commit | 0275ba9177180c7b45d5a73ebeeeffd88f46441a (patch) | |
| tree | 47948045c57a468d90cfff4ec2abc303666849be /src/common/network/Socket.h | |
| parent | d1a4551bc63e844c96f606c072eaf58f05502c2c (diff) | |
Core/Network: Build fix for older boost versions
Diffstat (limited to 'src/common/network/Socket.h')
| -rw-r--r-- | src/common/network/Socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
