Skip to content

Commit

Permalink
Format spawn_future.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ispeters committed Oct 30, 2023
1 parent 47ba7ee commit b8c1763
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/unifex/spawn_future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,8 @@ struct [[nodiscard]] _future<Scope, T...>::type final {

static constexpr blocking_kind blocking = sender_traits<sender_t>::blocking;

static constexpr bool is_always_scheduler_affine
= sender_traits<sender_t>::is_always_scheduler_affine;
static constexpr bool is_always_scheduler_affine =
sender_traits<sender_t>::is_always_scheduler_affine;

explicit type(
Scope& scope,
Expand All @@ -843,7 +843,8 @@ struct [[nodiscard]] _future<Scope, T...>::type final {
return connect(std::move(self).sender_, static_cast<Receiver&&>(receiver));
}

friend blocking_kind tag_invoke(tag_t<blocking>, const type& sender) noexcept {
friend blocking_kind
tag_invoke(tag_t<blocking>, const type& sender) noexcept {
return unifex::blocking(sender.sender_);
}
};
Expand Down

0 comments on commit b8c1763

Please sign in to comment.