mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 07:30:30 +00:00
Address AI feedback: constexpr correctness
This commit is contained in:
@@ -186,7 +186,7 @@ struct MantissaRange final
|
||||
|
||||
class Access
|
||||
{
|
||||
static constexpr MantissaRange const&
|
||||
static MantissaRange const&
|
||||
mantissaRange(MantissaScale scale);
|
||||
|
||||
friend Number;
|
||||
|
||||
@@ -68,7 +68,7 @@ to_string(Number::RoundingMode const& round)
|
||||
}
|
||||
}
|
||||
|
||||
constexpr MantissaRange const&
|
||||
MantissaRange const&
|
||||
MantissaRange::Access::mantissaRange(MantissaScale scale)
|
||||
{
|
||||
static constexpr MantissaRange kSmall{MantissaScale::Small};
|
||||
|
||||
Reference in New Issue
Block a user