We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 087dadf commit 9f8340eCopy full SHA for 9f8340e
libcxx/include/__chrono/convert_to_tm.h
@@ -53,7 +53,7 @@ _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const _ChronoT& __value) {
53
__result.tm_mon = static_cast<unsigned>(__value) - 1;
54
else if constexpr (same_as<_ChronoT, chrono::year>)
55
__result.tm_year = static_cast<int>(__value) - 1900;
56
- else if constexpr (same_as<_ChronoCalendarTimePoint, chrono::weekday>)
+ else if constexpr (same_as<_ChronoT, chrono::weekday>)
57
__result.tm_wday = __value.c_encoding();
58
else
59
static_assert(sizeof(_ChronoT) == 0, "Add the missing type specialization");
0 commit comments