Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
gregtatcam committed Mar 3, 2024
1 parent de390b8 commit dd5cf5c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/ripple/protocol/STPathSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,15 @@ class ElementAsset
ElementAsset(uint192 const& mpt);
ElementAsset() = default;

bool constexpr
isCurrency() const
bool constexpr isCurrency() const
{
return std::holds_alternative<Currency>(easset_);
}
bool constexpr
isXRP() const
bool constexpr isXRP() const
{
return isCurrency() && ripple::isXRP(currency());
}
bool constexpr
isMPT() const
bool constexpr isMPT() const
{
return std::holds_alternative<MPT>(easset_);
}
Expand Down

0 comments on commit dd5cf5c

Please sign in to comment.