Replace remove_cvref_t with remove_const_t

This commit is contained in:
Victor Zverovich 2024-01-02 12:46:09 -08:00
parent baea8f6906
commit 0378d171f9

View File

@ -1856,7 +1856,7 @@ class format_arg_store
// Arguments are taken by lvalue references to avoid some lifetime issues.
template <typename Context = format_context, typename... T>
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...};
}