From ae03c8d43e46dfbd396a052f71670727b293ac76 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Tue, 7 Apr 2020 19:15:05 +0200 Subject: [PATCH] Adapt to new std compliant naming of numeric_limits --- uart.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uart.hpp b/uart.hpp index 54f55a2..f840d90 100644 --- a/uart.hpp +++ b/uart.hpp @@ -35,8 +35,8 @@ static constexpr size_t cntDigits() template static constexpr size_t maxNumDigits() { - constexpr T MinVal = type::NumericLimits::min(); - constexpr T MaxVal = type::NumericLimits::max(); + constexpr T MinVal = type::numeric_limits::min(); + constexpr T MaxVal = type::numeric_limits::max(); constexpr T MinDigits = cntDigits(); constexpr T MaxDigits = cntDigits();