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 2, 2024
1 parent 2cee8e4 commit 013f912
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions include/xrpl/basics/MPTAmount.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ constexpr MPTAmount::MPTAmount(value_type value) : value_(value)
{
}

constexpr MPTAmount&
MPTAmount::operator=(beast::Zero)
constexpr MPTAmount& MPTAmount::operator=(beast::Zero)
{
value_ = 0;
return *this;
Expand Down
3 changes: 1 addition & 2 deletions src/libxrpl/protocol/STEitherAmount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ STEitherAmount::getText() const
return std::visit([&](auto&& a) { return a.getText(); }, amount_);
}

Json::Value
STEitherAmount::getJson(JsonOptions) const
Json::Value STEitherAmount::getJson(JsonOptions) const
{
return std::visit(
[&](auto&& a) { return a.getJson(JsonOptions::none); }, amount_);
Expand Down
3 changes: 1 addition & 2 deletions src/libxrpl/protocol/STMPTAmount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ STMPTAmount::getText() const
return std::to_string(value_);
}

Json::Value
STMPTAmount::getJson(JsonOptions) const
Json::Value STMPTAmount::getJson(JsonOptions) const
{
Json::Value elem;
setJson(elem);
Expand Down

0 comments on commit 013f912

Please sign in to comment.