From 9529fd97f60cee6f86f1345763bb406f81fd7302 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Mon, 29 Jun 2026 19:09:20 -0400 Subject: [PATCH] Move MantissaScale NOLINTBEGIN/END to around the enum --- include/xrpl/basics/Number.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/xrpl/basics/Number.h b/include/xrpl/basics/Number.h index 18489bdb3a..e3e9a16b47 100644 --- a/include/xrpl/basics/Number.h +++ b/include/xrpl/basics/Number.h @@ -126,8 +126,9 @@ struct MantissaRange final { using rep = std::uint64_t; + // NOLINTBEGIN(readability-enum-initial-value) + // The values don't matter, except for Large enum class MantissaScale { - // NOLINTBEGIN(readability-enum-initial-value) - The values don't matter, except for Large // Small can be removed when either featureSingleAssetVault or featureLendingProtocol are // retired Small, @@ -141,8 +142,8 @@ struct MantissaRange final // in the extremely unlikely case that a downstream project made use of it. Note that // because the behavior changed, this may still be a breaking change. Large = Large330, - // NOLINTEND(readability-enum-initial-value) }; + // NOLINTEND(readability-enum-initial-value) // This entire enum can be removed when the last relevant amendment is retired enum class CuspRoundingFix : std::uint8_t {