mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 15:10:34 +00:00
- Rename MantissaRange::Get to MantissaRange::Access. The name doesn't really matter, but since the intent of the class is to control access to one function, this works. - Exclude the MantissaScale enum from linting for readability-enum-initial-value. clang-tidy was complaining that "error: initial values in enum 'xrpl::MantissaRange::MantissaScale' are not consistent, consider explicit initialization of all, none or only the first enumerator", but I don't care. I just need Large to match the last value. - Add a static_assert in setCurrentTransactionRules, so that if another MantissaScale is added (and Large is properly updated), the engineer won't forget to add a case for it there.