fixup! clang-tidy: Avoid nested "?:" in global Rules initialization

This commit is contained in:
Ed Hennis
2026-05-14 20:33:15 -04:00
parent cd2fcf0a5e
commit b69b9242e2

View File

@@ -65,7 +65,7 @@ setCurrentTransactionRules(std::optional<Rules> r)
return MantissaRange::MantissaScale::LargeLegacy;
return MantissaRange::MantissaScale::Small;
}();
Number::setMantissaRange(range);
Number::setMantissaScale(range);
*getCurrentTransactionRulesRef() = std::move(r);
}