Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Feb 21, 2024
1 parent fe5d6a6 commit 8d9e25f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/ripple/app/paths/impl/Steps.h
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,9 @@ toStrands(

/// @cond INTERNAL
template <class TIn, class TOut, class TDerived>
// clang-format off
requires(
!(std::is_same_v<TIn, STAmount> || std::is_same_v<TIn, MPTAmount> ||
std::is_same_v<TOut, STAmount> || std::is_same_v<TOut, MPTAmount>))
// clang-format on
struct StepImp : public Step
{
explicit StepImp() = default;
Expand Down
5 changes: 2 additions & 3 deletions src/ripple/app/paths/impl/StrandFlow.h
Original file line number Diff line number Diff line change
Expand Up @@ -551,13 +551,12 @@ class ActiveStrands
sandbox
*/
template <class TInAmt, class TOutAmt>
// clang-format off
requires(!(
std::is_same_v<TInAmt, STAmount> || std::is_same_v<TInAmt, MPTAmount> ||
std::is_same_v<TOutAmt, STAmount> ||
std::is_same_v<TOutAmt, MPTAmount>))
// clang-format on
FlowResult<TInAmt, TOutAmt> flow(
FlowResult<TInAmt, TOutAmt>
flow(
PaymentSandbox const& baseView,
std::vector<Strand> const& strands,
TOutAmt const& outReq,
Expand Down

0 comments on commit 8d9e25f

Please sign in to comment.