Fix up namespace error in Posix::time_zone::to_sys

This commit is contained in:
Howard Hinnant 2021-04-07 20:33:01 -04:00
parent 9a9a42db74
commit 156e0a786e

View File

@ -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);