formatting changes

Signed-off-by: Pratik Mankawde <pmankawde@ripple.com>
This commit is contained in:
Pratik Mankawde
2025-10-30 16:05:32 +00:00
parent 6e1b53847b
commit 0ef9db4d9a
2 changed files with 102 additions and 132 deletions

View File

@@ -127,8 +127,7 @@ IOUAmount::operator=(beast::Zero)
return *this;
}
inline IOUAmount::
operator Number() const
inline IOUAmount::operator Number() const
{
return Number{mantissa_, exponent_};
}
@@ -158,8 +157,7 @@ IOUAmount::operator<(IOUAmount const& other) const
return Number{*this} < Number{other};
}
inline IOUAmount::
operator bool() const noexcept
inline IOUAmount::operator bool() const noexcept
{
return mantissa_ != 0;
}