Adapt to new std compliant naming of numeric_limits

This commit is contained in:
BlackMark 2020-04-07 19:15:05 +02:00
parent 41b9ef74f9
commit ae03c8d43e

View File

@ -35,8 +35,8 @@ static constexpr size_t cntDigits()
template <typename T, size_t Base>
static constexpr size_t maxNumDigits()
{
constexpr T MinVal = type::NumericLimits<T>::min();
constexpr T MaxVal = type::NumericLimits<T>::max();
constexpr T MinVal = type::numeric_limits<T>::min();
constexpr T MaxVal = type::numeric_limits<T>::max();
constexpr T MinDigits = cntDigits<T, MinVal, Base>();
constexpr T MaxDigits = cntDigits<T, MaxVal, Base>();