diff options
Diffstat (limited to '3rdparty/asio/include/asio/detail/wait_op.hpp')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/wait_op.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/3rdparty/asio/include/asio/detail/wait_op.hpp b/3rdparty/asio/include/asio/detail/wait_op.hpp index 68bb86fd80c..548232c1c55 100644 --- a/3rdparty/asio/include/asio/detail/wait_op.hpp +++ b/3rdparty/asio/include/asio/detail/wait_op.hpp @@ -2,7 +2,7 @@ // detail/wait_op.hpp // ~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -30,9 +30,13 @@ public: // The error code to be passed to the completion handler. asio::error_code ec_; + // The operation key used for targeted cancellation. + void* cancellation_key_; + protected: wait_op(func_type func) - : operation(func) + : operation(func), + cancellation_key_(0) { } }; |