From 07f71caef2cd1782ab702fd606beddbdba2ce0b5 Mon Sep 17 00:00:00 2001 From: Christopher Kohlhoff Date: Tue, 1 Nov 2022 09:30:28 +1100 Subject: [PATCH] Remove unnecessary specialisation of associated_cancellation_slot. --- include/boost/asio/impl/write.hpp | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/include/boost/asio/impl/write.hpp b/include/boost/asio/impl/write.hpp index fae7f3b1..dd1de332 100644 --- a/include/boost/asio/impl/write.hpp +++ b/include/boost/asio/impl/write.hpp @@ -1064,29 +1064,6 @@ struct associator -struct associated_cancellation_slot< - detail::write_dynbuf_v2_op, - CancellationSlot> - : detail::associated_cancellation_slot_forwarding_base< - WriteHandler, CancellationSlot> -{ - typedef typename associated_cancellation_slot< - WriteHandler, CancellationSlot>::type type; - - static type get( - const detail::write_dynbuf_v2_op& h, - const CancellationSlot& s = CancellationSlot()) BOOST_ASIO_NOEXCEPT - { - return associated_cancellation_slot::get(h.handler_, s); - } -}; - #endif // !defined(GENERATING_DOCUMENTATION) template