diff options
Diffstat (limited to '3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp')
-rw-r--r-- | 3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp b/3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp index 10c42956843..8d39edbc1a6 100644 --- a/3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp +++ b/3rdparty/asio/include/asio/detail/impl/timer_queue_ptime.ipp @@ -2,7 +2,7 @@ // detail/impl/timer_queue_ptime.ipp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2021 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) @@ -75,6 +75,12 @@ std::size_t timer_queue<time_traits<boost::posix_time::ptime> >::cancel_timer( return impl_.cancel_timer(timer, ops, max_cancelled); } +void timer_queue<time_traits<boost::posix_time::ptime> >::cancel_timer_by_key( + per_timer_data* timer, op_queue<operation>& ops, void* cancellation_key) +{ + impl_.cancel_timer_by_key(timer, ops, cancellation_key); +} + void timer_queue<time_traits<boost::posix_time::ptime> >::move_timer( per_timer_data& target, per_timer_data& source) { |