diff --git a/include/xrpl/basics/MPTAmount.h b/include/xrpl/basics/MPTAmount.h index bdb83b17cf9..066c43d1079 100644 --- a/include/xrpl/basics/MPTAmount.h +++ b/include/xrpl/basics/MPTAmount.h @@ -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; diff --git a/src/libxrpl/protocol/STEitherAmount.cpp b/src/libxrpl/protocol/STEitherAmount.cpp index c1ac725eeac..a94ffc16d3e 100644 --- a/src/libxrpl/protocol/STEitherAmount.cpp +++ b/src/libxrpl/protocol/STEitherAmount.cpp @@ -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_); diff --git a/src/libxrpl/protocol/STMPTAmount.cpp b/src/libxrpl/protocol/STMPTAmount.cpp index b892d21e109..5028edfb864 100644 --- a/src/libxrpl/protocol/STMPTAmount.cpp +++ b/src/libxrpl/protocol/STMPTAmount.cpp @@ -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);