From 3628b025ebd349abf2f9685cd103c7a834a4a965 Mon Sep 17 00:00:00 2001 From: ShifftC Date: Mon, 8 Apr 2024 16:09:53 +0200 Subject: [PATCH] Fix mix-up of 'FMT_BEGIN_EXPORT' and 'namespace detail'. --- include/fmt/format.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index 541bf11d5127..8ab8f263cf72 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