File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ add_library(stdexec_executable_flags INTERFACE)
226
226
227
227
# Enable warnings
228
228
target_compile_options (stdexec_executable_flags INTERFACE
229
- $< $< STREQUAL:${stdexec_compiler_frontend} ,GNU> :-Wall>
229
+ $< $< STREQUAL:${stdexec_compiler_frontend} ,GNU> :-Wall,-Werror=unused-parameter >
230
230
$< $< STREQUAL:${stdexec_compiler_frontend} ,AppleClang> :-Wall>
231
231
$< $< STREQUAL:${stdexec_compiler_frontend} ,MSVC> :/W4> )
232
232
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ namespace stdexec {
135
135
: __result_(connect(static_cast <_Sender&&>(__sndr), static_cast<_Receiver&&>(__rcvr))) {
136
136
}
137
137
138
- void submit (_Sender&& __sndr , _Receiver&&) noexcept {
138
+ void submit (_Sender&&, _Receiver&&) noexcept {
139
139
stdexec::start (__result_);
140
140
}
141
141
You can’t perform that action at this time.
0 commit comments