From b1670f5614bfe7110d0902fd237446e2c3ab525b Mon Sep 17 00:00:00 2001 From: Vladislav Vysokikh Date: Fri, 5 Jun 2026 11:54:14 +0100 Subject: [PATCH] clang-format fix --- include/xrpl/basics/Number.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/xrpl/basics/Number.h b/include/xrpl/basics/Number.h index 2fc2edbb8b..b46a1c7a3e 100644 --- a/include/xrpl/basics/Number.h +++ b/include/xrpl/basics/Number.h @@ -413,8 +413,7 @@ public: // then the negative one is smaller. if (lneg != rneg) { - return lneg ? std::strong_ordering::less - : std::strong_ordering::greater; + return lneg ? std::strong_ordering::less : std::strong_ordering::greater; } // Same sign: compare the unsigned magnitudes |a| <=> |b|. For negative @@ -428,8 +427,7 @@ public: // before the exponents can be compared. if (a.mantissa_ == 0) { - return b.mantissa_ == 0 ? std::strong_ordering::equal - : std::strong_ordering::less; + return b.mantissa_ == 0 ? std::strong_ordering::equal : std::strong_ordering::less; } if (b.mantissa_ == 0) return std::strong_ordering::greater;