File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ class mux_many : private tmc::detail::AwaitTagNoGroupCoAwaitLvalue {
319319 // / each consumed (or forked) slot index will be returned exactly once per
320320 // / submission. When no submitted results remain, the index returned will be
321321 // / equal to the value of `end()`.
322- TMC_AWAIT_RESUME inline size_t await_resume () noexcept {
322+ [[nodiscard]] inline size_t await_resume () noexcept {
323323 auto slot = tmc::detail::result_each_await_resume (remaining_count, sync_flags);
324324 if (slot != end ()) {
325325 active_slots &= ~(TMC_ONE_BIT << slot);
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ class mux_tuple : private tmc::detail::AwaitTagNoGroupCoAwaitLvalue {
210210 // / order, but each consumed (or forked) slot index will be returned
211211 // / exactly once per submission. When no submitted results remain, the index
212212 // / returned will be equal to the value of `end()`.
213- TMC_AWAIT_RESUME inline size_t await_resume () noexcept {
213+ [[nodiscard]] inline size_t await_resume () noexcept {
214214 auto slot = tmc::detail::result_each_await_resume (remaining_count, sync_flags);
215215 if (slot != end ()) {
216216 active_slots &= ~(TMC_ONE_BIT << slot);
You can’t perform that action at this time.
0 commit comments