mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-30 14:19:30 +01:00
Fix compilation errors due to make_format_args in gcc 14.1.1 with c++20 (#4042)
This commit is contained in:
@@ -569,8 +569,8 @@ using wprintf_args = basic_format_args<wprintf_context>;
|
||||
/// arguments and can be implicitly converted to `printf_args`.
|
||||
template <typename Char = char, typename... T>
|
||||
inline auto make_printf_args(T&... args)
|
||||
-> decltype(make_format_args<basic_printf_context<Char>>(args...)) {
|
||||
return make_format_args<basic_printf_context<Char>>(args...);
|
||||
-> decltype(fmt::make_format_args<basic_printf_context<Char>>(args...)) {
|
||||
return fmt::make_format_args<basic_printf_context<Char>>(args...);
|
||||
}
|
||||
|
||||
template <typename Char> struct vprintf_args {
|
||||
|
||||
Reference in New Issue
Block a user