From 0f823df46af3703954e403fe88a7ca7878903118 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 4 Jun 2023 15:01:39 -0700 Subject: [PATCH] Remove detail namespace hack --- src/fmt.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/fmt.cc b/src/fmt.cc index b9abebfc..a02167c6 100644 --- a/src/fmt.cc +++ b/src/fmt.cc @@ -75,12 +75,7 @@ export module fmt; #define FMT_EXPORT export #define FMT_BEGIN_EXPORT export { #define FMT_END_EXPORT } -#define FMT_BEGIN_DETAIL_NAMESPACE \ - } \ - namespace detail { -#define FMT_END_DETAIL_NAMESPACE \ - } \ - export { + // If you define FMT_ATTACH_TO_GLOBAL_MODULE // - all declarations are detached from module 'fmt' // - the module behaves like a traditional static library, too