diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/pred.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/pred.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/pred.h b/src/shader_recompiler/frontend/ir/pred.h index a77c1e2a7..4c9e8b6bd 100644 --- a/src/shader_recompiler/frontend/ir/pred.h +++ b/src/shader_recompiler/frontend/ir/pred.h @@ -3,7 +3,7 @@ #pragma once -#include <fmt/format.h> +#include <fmt/ranges.h> namespace Shader::IR { @@ -33,7 +33,7 @@ struct fmt::formatter<Shader::IR::Pred> { return ctx.begin(); } template <typename FormatContext> - auto format(const Shader::IR::Pred& pred, FormatContext& ctx) { + auto format(const Shader::IR::Pred& pred, FormatContext& ctx) const { if (pred == Shader::IR::Pred::PT) { return fmt::format_to(ctx.out(), "PT"); } else { |