Skip to content

Commit

Permalink
fix unused parameter warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
  • Loading branch information
williamspatrick committed Jan 3, 2024
1 parent 6953923 commit c5b2b82
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 c5b2b82

Please sign in to comment.