diff --git a/include/fmt/core.h b/include/fmt/core.h index 5700c152..da59a30e 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1208,13 +1208,16 @@ FMT_CONSTEXPR basic_format_arg make_arg(const T& value) { return arg; } -template inline value make_arg(const T& val) { return arg_mapper().map(val); } -template inline basic_format_arg make_arg(const T& value) { return make_arg(value); @@ -1348,7 +1351,9 @@ class format_arg_store #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 basic_format_args(*this), #endif - data_{internal::make_arg(args)...} { + data_{internal::make_arg< + is_packed, Context, + internal::mapped_type_constant::value>(args)...} { } };