diff --git a/include/xrpl/basics/Number.h b/include/xrpl/basics/Number.h index efb1b054d7..071d3ae0b0 100644 --- a/include/xrpl/basics/Number.h +++ b/include/xrpl/basics/Number.h @@ -52,7 +52,7 @@ namespace detail { * inefficient. */ constexpr std::size_t kUint64Digits = 20; -constexpr std::size_t kUint128Digits = 39; +[[maybe_unused]] constexpr std::size_t kUint128Digits = 39; template consteval std::array diff --git a/src/libxrpl/basics/Number.cpp b/src/libxrpl/basics/Number.cpp index 81c5b1c417..8fd8fafdfc 100644 --- a/src/libxrpl/basics/Number.cpp +++ b/src/libxrpl/basics/Number.cpp @@ -212,7 +212,7 @@ concept UnsignedMantissa = std::is_unsigned_v || std::is_same_v precision to an operation. This enables the final result to be correctly rounded to the internal precision of Number. - At it's core, the Guard really only needs three pieces of information to determine how to round: + At its core, the Guard really only needs three pieces of information to determine how to round: 1. The rounding mode 2. The last digit dropped from the mantissa (i.e. the first digit after the decimal point). (first byte of digits_)