Skip to content

Commit 80ab554

Browse files
committed
another attempt at fixing single_sender
1 parent 2531c2e commit 80ab554

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/beman/execution26/detail/single_sender.hpp

-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111

1212
namespace beman::execution26::detail
1313
{
14-
#if 1
1514
template <typename Sender, typename Env>
1615
concept single_sender
1716
= ::beman::execution26::sender_in<Sender, Env>
1817
&& requires{
1918
typename ::beman::execution26::detail::single_sender_value_type<Sender, Env>;
2019
}
2120
;
22-
#endif
2321
}
2422

2523
// ----------------------------------------------------------------------------

include/beman/execution26/detail/single_sender_value_type.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace beman::execution26::detail
4040
::beman::execution26::value_types_of_t<
4141
Sender, Env, ::beman::execution26::detail::decayed_tuple, ::std::type_identity_t>>();
4242
else
43-
return ::std::enable_if<false>();
43+
return ::std::enable_if<false, Sender>();
4444
}())::type;
4545
}
4646

0 commit comments

Comments
 (0)