diff options
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/opcodes.h')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/opcodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/opcodes.h b/src/shader_recompiler/frontend/maxwell/opcodes.h index 72dd143c2..18ed4f6e1 100644 --- a/src/shader_recompiler/frontend/maxwell/opcodes.h +++ b/src/shader_recompiler/frontend/maxwell/opcodes.h @@ -3,7 +3,7 @@ #pragma once -#include <fmt/format.h> +#include <fmt/ranges.h> namespace Shader::Maxwell { @@ -23,7 +23,7 @@ struct fmt::formatter<Shader::Maxwell::Opcode> { return ctx.begin(); } template <typename FormatContext> - auto format(const Shader::Maxwell::Opcode& opcode, FormatContext& ctx) { + auto format(const Shader::Maxwell::Opcode& opcode, FormatContext& ctx) const { return fmt::format_to(ctx.out(), "{}", NameOf(opcode)); } }; |