forked from HowardHinnant/date
User defined literals are not supported by VS2013, use explicit year constructor instead
This commit is contained in:
committed by
Howard Hinnant
parent
a034eeed23
commit
494fee4e1b
2
date.h
2
date.h
@@ -4179,7 +4179,7 @@ operator<<(std::basic_ostream<CharT, Traits>& os, const local_time<Duration>& ut
|
|||||||
template <class Duration>
|
template <class Duration>
|
||||||
struct fields
|
struct fields
|
||||||
{
|
{
|
||||||
year_month_day ymd{0_y/0/0};
|
year_month_day ymd{year{0}/0/0};
|
||||||
weekday wd{7u};
|
weekday wd{7u};
|
||||||
time_of_day<Duration> tod{};
|
time_of_day<Duration> tod{};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user