Skip to content

Commit

Permalink
move fmt_detail namespace under the main fmt namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Jan 26, 2025
1 parent 4946bdb commit 5686aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

#include "format.h"

FMT_BEGIN_NAMESPACE

namespace fmt_detail {
struct time_zone {
template <typename Duration, typename T>
Expand All @@ -37,8 +39,6 @@ template <typename... T> inline auto current_zone(T...) -> time_zone* {
template <typename... T> inline void _tzset(T...) {}
} // namespace fmt_detail

FMT_BEGIN_NAMESPACE

// Enable safe chrono durations, unless explicitly disabled.
#ifndef FMT_SAFE_DURATION_CAST
# define FMT_SAFE_DURATION_CAST 1
Expand Down

0 comments on commit 5686aad

Please sign in to comment.