Skip to content

Commit c2ebe84

Browse files
authored
Merge pull request #1100 from ccotter/fix-warnings
Fix compiler warnings
2 parents 565c55f + 111e0c0 commit c2ebe84

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

include/stdexec/execution.hpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3307,7 +3307,7 @@ namespace stdexec {
33073307
#endif
33083308

33093309
template <sender_expr_for<then_t> _Sender, class _Env>
3310-
static auto get_completion_signatures(_Sender&& __sndr, _Env&&)
3310+
static auto get_completion_signatures(_Sender&&, _Env&&)
33113311
-> __completion_signatures_t<__decay_t<__data_of<_Sender>>, __child_of<_Sender>, _Env> {
33123312
return {};
33133313
}
@@ -3448,7 +3448,7 @@ namespace stdexec {
34483448
#endif
34493449

34503450
template <sender_expr_for<upon_error_t> _Sender, class _Env>
3451-
static auto get_completion_signatures(_Sender&& __sndr, _Env&&)
3451+
static auto get_completion_signatures(_Sender&&, _Env&&)
34523452
-> __completion_signatures_t<__decay_t<__data_of<_Sender>>, __child_of<_Sender>, _Env> {
34533453
return {};
34543454
}
@@ -3592,7 +3592,7 @@ namespace stdexec {
35923592
#endif
35933593

35943594
template <sender_expr_for<upon_stopped_t> _Sender, class _Env>
3595-
static auto get_completion_signatures(_Sender&& __sndr, _Env&&)
3595+
static auto get_completion_signatures(_Sender&&, _Env&&)
35963596
-> __completion_signatures_t<__decay_t<__data_of<_Sender>>, __child_of<_Sender>, _Env> {
35973597
return {};
35983598
}
@@ -3799,7 +3799,7 @@ namespace stdexec {
37993799
using __shape_t = decltype(__decay_t<__data_of<_Sender>>::__shape_);
38003800

38013801
template <sender_expr_for<bulk_t> _Sender, class _Env>
3802-
static auto get_completion_signatures(_Sender&& __sndr, _Env&&)
3802+
static auto get_completion_signatures(_Sender&&, _Env&&)
38033803
-> __completion_signatures<__child_of<_Sender>, _Env, __shape_t<_Sender>, __fun_t<_Sender>> {
38043804
return {};
38053805
}
@@ -4074,7 +4074,7 @@ namespace stdexec {
40744074
}
40754075

40764076
template <sender_expr_for<__split_t> _Self, class _OtherEnv>
4077-
static auto get_completion_signatures(_Self&& __self, _OtherEnv&&)
4077+
static auto get_completion_signatures(_Self&&, _OtherEnv&&)
40784078
-> __call_result_t<apply_sender_t, _Self, __mtypeof<__get_completion_signatures_fn>> {
40794079
return {};
40804080
}
@@ -4411,7 +4411,7 @@ namespace stdexec {
44114411
}
44124412

44134413
template <sender_expr_for<__ensure_started_t> _Self, class _OtherEnv>
4414-
static auto get_completion_signatures(_Self&& __self, _OtherEnv&&)
4414+
static auto get_completion_signatures(_Self&&, _OtherEnv&&)
44154415
-> __call_result_t<apply_sender_t, _Self, __mtypeof<__get_completion_signatures_fn>> {
44164416
return {};
44174417
}
@@ -4726,7 +4726,7 @@ namespace stdexec {
47264726

47274727
template <class _Receiver2>
47284728
__t(_Sender&& __sndr, _Receiver2&& __rcvr, _Fun __fun)
4729-
: __op_base_t{{{}, (_Receiver2&&) __rcvr, query_or(get_completion_scheduler<_Set>, get_env(__sndr), __none_such())}, (_Fun&&) __fun}
4729+
: __op_base_t{{{}, (_Receiver2&&) __rcvr, query_or(get_completion_scheduler<_Set>, get_env(__sndr), __none_such())}, (_Fun&&) __fun, {}, {}}
47304730
, __op_state2_(connect((_Sender&&) __sndr, __receiver_t{this})) {
47314731
}
47324732

@@ -5491,7 +5491,7 @@ namespace stdexec {
54915491
}
54925492

54935493
template <sender_expr_for<schedule_from_t> _Sender, class _Env>
5494-
static auto get_completion_signatures(_Sender&& __sndr, const _Env&) noexcept
5494+
static auto get_completion_signatures(_Sender&&, const _Env&) noexcept
54955495
-> __completions_t<__scheduler_t<_Sender>, __child_of<_Sender>, _Env> {
54965496
return {};
54975497
}
@@ -6434,7 +6434,7 @@ namespace stdexec {
64346434
__children_of<_Self, __mbind_front_q<__completions_t, __env_t<_Env>>>;
64356435

64366436
template <sender_expr_for<when_all_t> _Self, class _Env>
6437-
static auto get_completion_signatures(_Self&& __self, _Env&&) {
6437+
static auto get_completion_signatures(_Self&&, _Env&&) {
64386438
return __minvoke<__mtry_catch<__q<__completions>, __q<__error>>, _Self, _Env>();
64396439
}
64406440

@@ -6829,7 +6829,6 @@ namespace stdexec {
68296829
(_Sender&&) __sndr,
68306830
[&]<class _Data, class _Child>(__ignore, _Data&& __data, _Child&& __child) {
68316831
auto&& [__sched, __clsur] = (_Data&&) __data;
6832-
using _Scheduler = decltype(__sched);
68336832
using _Closure = decltype(__clsur);
68346833
return __write(
68356834
transfer(

0 commit comments

Comments
 (0)