Skip to content

Commit

Permalink
Merge pull request #1188 from williamspatrick/main
Browse files Browse the repository at this point in the history
fix unused parameter warnings
  • Loading branch information
ericniebler authored Jan 4, 2024
2 parents 6953923 + c5b2b82 commit 4800a0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/stdexec/execution.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3598,7 +3598,7 @@ namespace stdexec {
};

static constexpr auto get_state = //
[]<class _Sender, class _Receiver>(_Sender&& __sndr, _Receiver& __rcvr) {
[]<class _Sender, class _Receiver>(_Sender&& __sndr, _Receiver&) {
static_assert(sender_expr_for<_Sender, __let_t<_SetTag, _Domain>>);
using _Fun = __data_of<_Sender>;
using _Sched = __completion_sched<_Sender, _SetTag>;
Expand Down Expand Up @@ -4127,7 +4127,7 @@ namespace stdexec {
};

static constexpr auto get_state =
[]<class _Sender, class _Receiver>(_Sender&& __sndr, _Receiver& __rcvr) {
[]<class _Sender, class _Receiver>(_Sender&& __sndr, _Receiver&) {
static_assert(sender_expr_for<_Sender, schedule_from_t>);
auto __sched = get_completion_scheduler<set_value_t>(stdexec::get_env(__sndr));
using _Scheduler = decltype(__sched);
Expand Down

0 comments on commit 4800a0b

Please sign in to comment.