diff options
author | Lioncash <mathew1800@gmail.com> | 2022-05-14 16:46:15 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-05-14 16:48:34 -0400 |
commit | f981e90af3a911596442aaf0f1e049f1b8e6003f (patch) | |
tree | be27c0a623bfe7e0963863b7a49b5d76a060cbd7 /src/shader_recompiler/frontend/ir/opcodes.h | |
parent | 0b9ef3c0b844fbda14390c94bb6ddd37e3b36c90 (diff) |
general: Avoid ambiguous format_to compilation errors
Ensures that we're using the fmt version of format_to.
These are also the only three outliers. All of the other formatters we
have are properly qualified.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/opcodes.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/opcodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.h b/src/shader_recompiler/frontend/ir/opcodes.h index d17dc0376b..752879a186 100644 --- a/src/shader_recompiler/frontend/ir/opcodes.h +++ b/src/shader_recompiler/frontend/ir/opcodes.h @@ -103,6 +103,6 @@ struct fmt::formatter<Shader::IR::Opcode> { } template <typename FormatContext> auto format(const Shader::IR::Opcode& op, FormatContext& ctx) { - return format_to(ctx.out(), "{}", Shader::IR::NameOf(op)); + return fmt::format_to(ctx.out(), "{}", Shader::IR::NameOf(op)); } }; |