Skip to content

Commit

Permalink
Fix up namespace error in Posix::time_zone::to_sys
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardHinnant committed Apr 8, 2021
1 parent 9a9a42d commit 156e0a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/date/ptz.h
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ time_zone::to_sys(date::local_time<Duration> tp) const
using date::local_info;
using date::sys_time;
using date::ambiguous_local_time;
using date::nonexistent_local_time;
auto i = get_info(tp);
if (i.result == local_info::nonexistent)
throw nonexistent_local_time(tp, i);
Expand Down

0 comments on commit 156e0a7

Please sign in to comment.