mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-09 12:50:05 +00:00
Simplify make_format_args
This commit is contained in:
parent
8ed4a9dcc1
commit
57d6df62f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user