Fix type-o in parse

This commit is contained in:
Howard Hinnant 2016-10-08 15:04:27 -04:00
parent f66af06870
commit 381cbf9a7b

4
date.h
View File

@ -4490,7 +4490,7 @@ detail::parse_sys_manip<Duration, CharT, Traits>
parse(const std::basic_string<CharT, Traits>& format, sys_time<Duration>& tp,
std::chrono::minutes& offset)
{
return {format, tp, &offset};
return {format, tp, nullptr, &offset};
}
template <class CharT, class Traits, class Duration>
@ -4589,7 +4589,7 @@ detail::parse_local_manip<Duration, CharT, Traits>
parse(const std::basic_string<CharT, Traits>& format, local_time<Duration>& tp,
std::chrono::minutes& offset)
{
return {format, tp, &offset};
return {format, tp, nullptr, &offset};
}
template <class CharT, class Traits, class Duration>