diff --git a/include/fmt/compile.h b/include/fmt/compile.h index 9ec15474..c85bf7c3 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -510,7 +510,8 @@ constexpr auto compile(S format_str) { template ::value)> -std::basic_string format(const CompiledFormat& cf, const Args&... args) { +FMT_INLINE std::basic_string format(const CompiledFormat& cf, + const Args&... args) { basic_memory_buffer buffer; detail::buffer& base = buffer; cf.format(std::back_inserter(base), args...);