mirror of
https://github.com/boostorg/asio.git
synced 2026-01-26 18:22:09 +00:00
Remove unnecessary specialisation of associated_cancellation_slot.
This commit is contained in:
@@ -1064,29 +1064,6 @@ struct associator<Associator,
|
||||
}
|
||||
};
|
||||
|
||||
template <typename AsyncWriteStream, typename DynamicBuffer_v2,
|
||||
typename CompletionCondition, typename WriteHandler,
|
||||
typename CancellationSlot>
|
||||
struct associated_cancellation_slot<
|
||||
detail::write_dynbuf_v2_op<AsyncWriteStream,
|
||||
DynamicBuffer_v2, CompletionCondition, WriteHandler>,
|
||||
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<AsyncWriteStream,
|
||||
DynamicBuffer_v2, CompletionCondition, WriteHandler>& h,
|
||||
const CancellationSlot& s = CancellationSlot()) BOOST_ASIO_NOEXCEPT
|
||||
{
|
||||
return associated_cancellation_slot<WriteHandler,
|
||||
CancellationSlot>::get(h.handler_, s);
|
||||
}
|
||||
};
|
||||
|
||||
#endif // !defined(GENERATING_DOCUMENTATION)
|
||||
|
||||
template <typename AsyncWriteStream, typename DynamicBuffer_v2,
|
||||
|
||||
Reference in New Issue
Block a user