Skip to content

Commit 52357d5

Browse files
committed
clang format
1 parent 51b8a0c commit 52357d5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

include/beman/execution/detail/stop_when.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ struct beman::execution::detail::stop_when_t::sender {
122122
}
123123
};
124124

125-
template <::beman::execution::sender Sndr, ::beman::execution::stoppable_token Tok>
126-
inline auto beman::execution::detail::stop_when_t::operator()(Sndr&& sndr, Tok&& tok) const noexcept {
127-
if constexpr (::beman::execution::unstoppable_token<Tok>) {
128-
return ::std::forward<Sndr>(sndr);
129-
} else {
130-
return sender<Sndr, Tok>(*this, ::std::forward<Tok>(tok), ::std::forward<Sndr>(sndr));
131-
}
125+
template <::beman::execution::sender Sndr, ::beman::execution::stoppable_token Tok>
126+
inline auto beman::execution::detail::stop_when_t::operator()(Sndr&& sndr, Tok&& tok) const noexcept {
127+
if constexpr (::beman::execution::unstoppable_token<Tok>) {
128+
return ::std::forward<Sndr>(sndr);
129+
} else {
130+
return sender<Sndr, Tok>(*this, ::std::forward<Tok>(tok), ::std::forward<Sndr>(sndr));
132131
}
132+
}
133133

134134
// ----------------------------------------------------------------------------
135135

0 commit comments

Comments
 (0)