Skip to content

Commit eae8f33

Browse files
committed
2
Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
1 parent 74afd8c commit eae8f33

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/fmt/chrono.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,8 +523,8 @@ auto to_time_t(sys_time<Duration> time_point) -> std::time_t {
523523
// providing current_zone(): https://github.com/fmtlib/fmt/issues/4160.
524524
template <typename T> FMT_CONSTEXPR auto has_current_zone() -> bool {
525525
using namespace std::chrono;
526-
using namespace fmt_detail;
527-
return !std::is_same<decltype(current_zone()), fmt_detail::time_zone*>::value;
526+
using namespace fmt::fmt_detail;
527+
return !std::is_same<decltype(current_zone()), fmt::fmt_detail::time_zone*>::value;
528528
}
529529
} // namespace detail
530530

@@ -576,7 +576,7 @@ template <typename Duration,
576576
FMT_ENABLE_IF(detail::has_current_zone<Duration>())>
577577
inline auto localtime(std::chrono::local_time<Duration> time) -> std::tm {
578578
using namespace std::chrono;
579-
using namespace fmt_detail;
579+
using namespace fmt::fmt_detail;
580580
return localtime(detail::to_time_t(current_zone()->to_sys<Duration>(time)));
581581
}
582582
#endif
@@ -993,7 +993,7 @@ struct has_member_data_tm_zone<T, void_t<decltype(T::tm_zone)>>
993993

994994
inline void tzset_once() {
995995
static bool init = []() {
996-
using namespace fmt_detail;
996+
using namespace fmt::fmt_detail;
997997
_tzset();
998998
return false;
999999
}();

0 commit comments

Comments
 (0)