Skip to content

Commit

Permalink
Fix formatting of if/else
Browse files Browse the repository at this point in the history
  • Loading branch information
ispeters committed Oct 25, 2023
1 parent 2fff7db commit b52340b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/unifex/task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,7 @@ struct _sr_thunk_promise final {
// nothing and wait for the async stop request to do it
if (p.refCount_.fetch_sub(1, std::memory_order_acq_rel) == 1) {
return h.promise().continuation_.handle().resume();
}
else {
} else {
p.handleToResume_ = h.promise().continuation_.handle();
// don't resume anything here; wait for the deferred stop request
// to resume our continuation
Expand Down

0 comments on commit b52340b

Please sign in to comment.