diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/attribute.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h index 5f039b6f6..7a0671380 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h @@ -3,7 +3,7 @@ #pragma once -#include <fmt/format.h> +#include <fmt/ranges.h> #include "common/common_types.h" @@ -250,7 +250,7 @@ struct fmt::formatter<Shader::IR::Attribute> { return ctx.begin(); } template <typename FormatContext> - auto format(const Shader::IR::Attribute& attribute, FormatContext& ctx) { + auto format(const Shader::IR::Attribute& attribute, FormatContext& ctx) const { return fmt::format_to(ctx.out(), "{}", Shader::IR::NameOf(attribute)); } }; |