Skip to content

Commit

Permalink
Rename internal __continue_on_data to __on_data used by on adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Sep 16, 2024
1 parent 358dc02 commit f677af2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/stdexec/__detail/__on.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ namespace stdexec {
};

template <class _Scheduler, class _Closure>
struct __continue_on_data {
struct __on_data {
_Scheduler __sched_;
_Closure __clsur_;
};
template <class _Scheduler, class _Closure>
__continue_on_data(_Scheduler, _Closure) -> __continue_on_data<_Scheduler, _Closure>;
__on_data(_Scheduler, _Closure) -> __on_data<_Scheduler, _Closure>;

template <class _Scheduler>
struct __with_sched {
Expand Down Expand Up @@ -111,7 +111,7 @@ namespace stdexec {
return stdexec::transform_sender(
__domain,
__make_sexpr<on_t>(
__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)));
}

Expand Down

0 comments on commit f677af2

Please sign in to comment.