diff --git a/include/date/date.h b/include/date/date.h index 7e8aa9e..7cb25c1 100644 --- a/include/date/date.h +++ b/include/date/date.h @@ -3715,7 +3715,7 @@ class decimal_format_seconds using CT = typename std::common_type::type; using rep = typename CT::rep; public: - static unsigned constexpr width = detail::width::value < 19 ? + static unsigned CONSTDATA width = detail::width::value < 19 ? detail::width::value : 6u; using precision = std::chrono::duration::value>>;