Adapt to new std compliant naming of numeric_limits
This commit is contained in:
parent
41b9ef74f9
commit
ae03c8d43e
4
uart.hpp
4
uart.hpp
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user