Skip to content

Commit dbcfa7b

Browse files
committed
Fix deprecation warnings in libdispatch_queue
This diff replaces `sender_expr_for` with `sender_for`, per the deprecation warning message.
1 parent 5473e9d commit dbcfa7b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/exec/libdispatch_queue.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
# endif
2929

3030
# include "../stdexec/execution.hpp"
31+
# include "sender_for.hpp"
3132
# include <dispatch/dispatch.h>
3233

3334
namespace experimental::execution
@@ -91,7 +92,7 @@ namespace experimental::execution
9192
struct domain
9293
{
9394
// transform the generic bulk sender into a parallel libdispatch bulk sender
94-
template <STDEXEC::sender_expr_for<STDEXEC::bulk_t> Sender, class Env>
95+
template <sender_for<STDEXEC::bulk_t> Sender, class Env>
9596
auto transform_sender(STDEXEC::set_value_t, Sender &&sndr, Env const &env) const noexcept
9697
{
9798
if constexpr (STDEXEC::__completes_on<Sender, libdispatch_scheduler, Env>)

0 commit comments

Comments
 (0)