Skip to content

Commit

Permalink
make both member.swap.pass.cpp files clang-format friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
jiixyj committed Oct 30, 2023
1 parent 8e866c6 commit c637421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ static_assert(!HasMemberSwap<MoveMayThrow, MoveMayThrow>);

// Test noexcept
template <class T, class E>
concept MemberSwapNoexcept =
concept MemberSwapNoexcept = //
requires(std::expected<T, E> x, std::expected<T, E> y) {
{ x.swap(y) } noexcept;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct MoveMayThrow {
};

template <class E>
concept MemberSwapNoexcept =
concept MemberSwapNoexcept = //
requires(std::expected<void, E> x, std::expected<void, E> y) {
{ x.swap(y) } noexcept;
};
Expand Down

0 comments on commit c637421

Please sign in to comment.