Skip to content

Commit

Permalink
Ensure initiation object copyability is reflected in a deferred async…
Browse files Browse the repository at this point in the history
… op.
  • Loading branch information
chriskohlhoff committed Jun 30, 2024
1 parent 1ef42a7 commit 62ca124
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion asio/include/asio/deferred.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ class ASIO_NODISCARD deferred_async_operation
detail::index_sequence<I...>) const &
-> decltype(
async_initiate<CompletionToken, Signature>(
initiation_t(initiation_), token, std::get<I>(init_args_)...))
conditional_t<true, initiation_t, CompletionToken>(initiation_),
token, std::get<I>(init_args_)...))
{
return async_initiate<CompletionToken, Signature>(
initiation_t(initiation_), token, std::get<I>(init_args_)...);
Expand Down

0 comments on commit 62ca124

Please sign in to comment.