From 4a059914a965485cfac89145d7f5ba70612f60f0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 13 Jan 2019 07:40:37 -0800 Subject: [PATCH] Reorder defines --- include/fmt/core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 4014b8de..3431f94c 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -144,6 +144,9 @@ #endif #ifndef FMT_BEGIN_NAMESPACE +# define FMT_BEGIN_NAMESPACE \ + namespace fmt { \ + FMT_INLINE_NAMESPACE v5 { # if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \ FMT_MSC_VER >= 1900 # define FMT_INLINE_NAMESPACE inline namespace @@ -157,9 +160,6 @@ using namespace v5; \ } # endif -# define FMT_BEGIN_NAMESPACE \ - namespace fmt { \ - FMT_INLINE_NAMESPACE v5 { #endif #if !defined(FMT_HEADER_ONLY) && defined(_WIN32)