Fix type-o in parse
This commit is contained in:
1 parent
f66af06870
commit
381cbf9a7b
1 file changed
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user