mirror of
https://github.com/HowardHinnant/date.git
synced 2024-12-27 16:41:04 +08:00
Fix up namespace error in Posix::time_zone::to_sys
This commit is contained in:
parent
9a9a42db74
commit
156e0a786e
@ -460,6 +460,7 @@ time_zone::to_sys(date::local_time<Duration> tp) const
|
|||||||
using date::local_info;
|
using date::local_info;
|
||||||
using date::sys_time;
|
using date::sys_time;
|
||||||
using date::ambiguous_local_time;
|
using date::ambiguous_local_time;
|
||||||
|
using date::nonexistent_local_time;
|
||||||
auto i = get_info(tp);
|
auto i = get_info(tp);
|
||||||
if (i.result == local_info::nonexistent)
|
if (i.result == local_info::nonexistent)
|
||||||
throw nonexistent_local_time(tp, i);
|
throw nonexistent_local_time(tp, i);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user