Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Jul 12, 2024
1 parent fbc6cbc commit 20eab6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/test/app/AMMExtended_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1564,8 +1564,7 @@ struct AMMExtended_test : public jtx::AMMTest
fund(env, gw, {alice, bob, charlie}, {USD(11)}, Fund::All);
AMM ammCharlie(env, charlie, XRP(11), USD(10));
env.close();
auto [st, sa, da] =
find_paths(env, alice, bob, drops(-1), USD(1));
auto [st, sa, da] = find_paths(env, alice, bob, drops(-1), USD(1));
BEAST_EXPECT(sa == USD(1));
BEAST_EXPECT(equal(da, XRP(1)));
if (BEAST_EXPECT(st.size() == 1 && st[0].size() == 1))
Expand Down
5 changes: 2 additions & 3 deletions src/test/jtx/amount.h
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,8 @@ class MPT
}

template <class T>
requires(sizeof(T) >= sizeof(int) && std::is_arithmetic_v<T>)
PrettyAmount
operator()(T v) const
requires(sizeof(T) >= sizeof(int) && std::is_arithmetic_v<T>) PrettyAmount
operator()(T v) const
{
// VFALCO NOTE Should throw if the
// representation of v is not exact.
Expand Down

0 comments on commit 20eab6c

Please sign in to comment.