mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
This commit is contained in:
parent
cc592ab814
commit
78e43a4404
11 changed files with 63 additions and 62 deletions
|
@ -36,7 +36,7 @@ struct fmt::formatter<geometry_shader_uid_data>
|
|||
{
|
||||
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const geometry_shader_uid_data& uid, FormatContext& ctx)
|
||||
auto format(const geometry_shader_uid_data& uid, FormatContext& ctx) const
|
||||
{
|
||||
return format_to(ctx.out(), "passthrough: {}, {} tex gens, primitive type {}",
|
||||
uid.IsPassthrough(), uid.numTexGens, uid.primitive_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue