diff --git a/include/fmt/compile.h b/include/fmt/compile.h index f711ba41..64eb7a20 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -15,9 +15,10 @@ #include "format.h" FMT_BEGIN_NAMESPACE +FMT_BEGIN_EXPORT // A compile-time string which is compiled into fast formatting code. -FMT_EXPORT class compiled_string {}; +class compiled_string {}; template struct is_compiled_string : std::is_base_of {}; @@ -59,6 +60,8 @@ template constexpr auto operator""_cf() { } // namespace literals #endif +FMT_END_EXPORT + namespace detail { template