Skip to content

Commit

Permalink
Cleanup format.h
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 22, 2024
1 parent 3b70966 commit 80c4d42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions include/fmt/format-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
# include <locale>
#endif

#ifndef FMT_FUNC
# define FMT_FUNC
#endif

FMT_BEGIN_NAMESPACE
namespace detail {

Expand Down
2 changes: 0 additions & 2 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -4310,8 +4310,6 @@ FMT_END_NAMESPACE
#ifdef FMT_HEADER_ONLY
# define FMT_FUNC inline
# include "format-inl.h"
#else
# define FMT_FUNC
#endif

// Restore _LIBCPP_REMOVE_TRANSITIVE_INCLUDES.
Expand Down

0 comments on commit 80c4d42

Please sign in to comment.