mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 00:14:07 +08:00
Change constexpr to CONSTDATA
This commit is contained in:
parent
a6243ce56f
commit
fe2f9c7eac
@ -3715,7 +3715,7 @@ class decimal_format_seconds
|
||||
using CT = typename std::common_type<Duration, std::chrono::seconds>::type;
|
||||
using rep = typename CT::rep;
|
||||
public:
|
||||
static unsigned constexpr width = detail::width<CT::period::den>::value < 19 ?
|
||||
static unsigned CONSTDATA width = detail::width<CT::period::den>::value < 19 ?
|
||||
detail::width<CT::period::den>::value : 6u;
|
||||
using precision = std::chrono::duration<rep,
|
||||
std::ratio<1, static_pow10<width>::value>>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user