mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Fix type-safe formatting
This commit is contained in:
parent
1d86c60548
commit
57f394e156
2 changed files with 7 additions and 6 deletions
|
@ -74,8 +74,7 @@ namespace logs
|
|||
if (UNLIKELY(sev <= enabled))
|
||||
{
|
||||
static constexpr fmt_type_info type_list[sizeof...(Args) + 1]{fmt_type_info::make<fmt_unveil_t<Args>>()...};
|
||||
const u64 arg_array[sizeof...(Args) + 1]{fmt_unveil<Args>::get(args)...};
|
||||
message{this, sev}.broadcast(fmt, type_list, arg_array);
|
||||
message{this, sev}.broadcast(fmt, type_list, fmt_args_t<Args...>{fmt_unveil<Args>::get(args)...});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue