Adapt to new std compliant naming of numeric_limits
This commit is contained in:
1 parent
41b9ef74f9
commit
ae03c8d43e
1 file changed
+2
-2
@@ -35,8 +35,8 @@ static constexpr size_t cntDigits()
|
|||||||
template <typename T, size_t Base>
|
template <typename T, size_t Base>
|
||||||
static constexpr size_t maxNumDigits()
|
static constexpr size_t maxNumDigits()
|
||||||
{
|
{
|
||||||
constexpr T MinVal = type::NumericLimits<T>::min();
|
constexpr T MinVal = type::numeric_limits<T>::min();
|
||||||
constexpr T MaxVal = type::NumericLimits<T>::max();
|
constexpr T MaxVal = type::numeric_limits<T>::max();
|
||||||
|
|
||||||
constexpr T MinDigits = cntDigits<T, MinVal, Base>();
|
constexpr T MinDigits = cntDigits<T, MinVal, Base>();
|
||||||
constexpr T MaxDigits = cntDigits<T, MaxVal, Base>();
|
constexpr T MaxDigits = cntDigits<T, MaxVal, Base>();
|
||||||
|
|||||||
Reference in new issue
Block a user