We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fee301d commit a74e7e1Copy full SHA for a74e7e1
1 file changed
include/boost/capy/asio/detail/completion_handler.hpp
@@ -19,6 +19,7 @@
19
#include <memory_resource>
20
#include <optional>
21
#include <tuple>
22
+#include <type_traits>
23
24
namespace boost::capy::detail
25
{
@@ -164,7 +165,7 @@ struct async_result_impl
164
165
166
completed_immediately = completed_immediately_t::initiating;
167
stopper.emplace(env->stop_token, signal);
- using slot_t = decltype(CancellationSignal().slot());
168
+ using slot_t = std::decay_t<decltype(CancellationSignal().slot())>;
169
capy::detail::asio_coroutine_completion_handler<slot_t, Ts...> ch(
170
h, result_, env,
171
signal.slot(),
0 commit comments