diff --git a/include/fmt/core.h b/include/fmt/core.h index f9e3b7d6..fc8e886a 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1554,7 +1554,7 @@ constexpr auto encode_types() -> unsigned long long { template struct type_is_unformattable_for; #endif -template +template FMT_CONSTEXPR FMT_INLINE auto make_arg(T& val) -> value { using arg_type = remove_cvref_t().map(val))>; @@ -1591,7 +1591,7 @@ FMT_CONSTEXPR auto make_arg(T& val) -> basic_format_arg { return arg; } -template +template FMT_CONSTEXPR inline auto make_arg(T& val) -> basic_format_arg { return make_arg(val); }