Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix unused parameter warnings #1188

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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