mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 00:14:07 +08:00
Fix type-o in parse
This commit is contained in:
parent
f66af06870
commit
381cbf9a7b
4
date.h
4
date.h
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user