mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Replace remove_cvref_t with remove_const_t
This commit is contained in:
@ -1856,7 +1856,7 @@ class format_arg_store
|
|||||||
// Arguments are taken by lvalue references to avoid some lifetime issues.
|
// Arguments are taken by lvalue references to avoid some lifetime issues.
|
||||||
template <typename Context = format_context, typename... T>
|
template <typename Context = format_context, typename... T>
|
||||||
constexpr auto make_format_args(T&... args)
|
constexpr auto make_format_args(T&... args)
|
||||||
-> format_arg_store<Context, remove_cvref_t<T>...> {
|
-> format_arg_store<Context, remove_const_t<T>...> {
|
||||||
return {args...};
|
return {args...};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user