From 5eb68c0ef25070fe21861c37e6f8458b08453588 Mon Sep 17 00:00:00 2001 From: ShifftC Date: Mon, 8 Apr 2024 18:46:20 +0200 Subject: [PATCH] Fix mix-up of 'FMT_BEGIN_EXPORT' and 'namespace detail'. (#3924) --- include/fmt/format.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index 541bf11d..8ab8f263 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -4335,8 +4335,12 @@ FMT_CONSTEXPR FMT_INLINE auto native_formatter::format( ctx); return write(ctx.out(), val, specs, ctx.locale()); } + +FMT_END_EXPORT } // namespace detail +FMT_BEGIN_EXPORT + template struct formatter : detail::native_formatter