mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 16:41:04 +08:00
Work around gcc bug
This commit is contained in:
parent
44fb676da2
commit
9fba53aa52
@ -431,7 +431,7 @@ weekday::weekday(unsigned wd) NOEXCEPT
|
||||
CONSTCD11
|
||||
inline
|
||||
weekday::weekday(date::weekday wd) NOEXCEPT
|
||||
: wd_(to_iso_encoding(unsigned{wd}))
|
||||
: wd_(to_iso_encoding(static_cast<unsigned>(wd)))
|
||||
{}
|
||||
|
||||
CONSTCD11
|
||||
|
Loading…
x
Reference in New Issue
Block a user