From fe2f9c7eacae8cbe4633d9821581e7caebfc40e9 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Tue, 7 Jul 2020 15:01:45 -0400 Subject: [PATCH] Change constexpr to CONSTDATA --- include/date/date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>>;