Work around gcc bug

This commit is contained in:
Howard Hinnant 2016-05-21 11:39:22 -04:00
parent 44fb676da2
commit 9fba53aa52

View File

@ -431,7 +431,7 @@ weekday::weekday(unsigned wd) NOEXCEPT
CONSTCD11 CONSTCD11
inline inline
weekday::weekday(date::weekday wd) NOEXCEPT weekday::weekday(date::weekday wd) NOEXCEPT
: wd_(to_iso_encoding(unsigned{wd})) : wd_(to_iso_encoding(static_cast<unsigned>(wd)))
{} {}
CONSTCD11 CONSTCD11