Simplify make_format_args

This commit is contained in:
Victor Zverovich 2024-09-06 08:00:21 -07:00
parent 8ed4a9dcc1
commit 57d6df62f7

View File

@ -2894,7 +2894,7 @@ template <typename Context = context, typename... T,
constexpr FMT_ALWAYS_INLINE auto make_format_args(T&... args)
-> detail::format_arg_store<Context, NUM_ARGS, 0, DESC> {
FMT_GCC_PRAGMA(GCC diagnostic ignored "-Wconversion")
return {{detail::arg_mapper<typename Context::char_type>::map(args)...}};
return {{args...}};
}
#ifndef FMT_DOC