diff --git a/include/stdexec/__detail/__on.hpp b/include/stdexec/__detail/__on.hpp index b76555ec3..9784f8832 100644 --- a/include/stdexec/__detail/__on.hpp +++ b/include/stdexec/__detail/__on.hpp @@ -68,12 +68,12 @@ namespace stdexec { }; template - struct __continue_on_data { + struct __on_data { _Scheduler __sched_; _Closure __clsur_; }; template - __continue_on_data(_Scheduler, _Closure) -> __continue_on_data<_Scheduler, _Closure>; + __on_data(_Scheduler, _Closure) -> __on_data<_Scheduler, _Closure>; template struct __with_sched { @@ -111,7 +111,7 @@ namespace stdexec { return stdexec::transform_sender( __domain, __make_sexpr( - __continue_on_data{static_cast<_Scheduler&&>(__sched), static_cast<_Closure&&>(__clsur)}, + __on_data{static_cast<_Scheduler&&>(__sched), static_cast<_Closure&&>(__clsur)}, static_cast<_Sender&&>(__sndr))); }