summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2022-05-10 16:38:21 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2022-05-10 19:19:52 -0700
commit56626f73bf1f5d160aff866f6dd51cd1f3dad87f (patch)
treeda2eb65ebca4908afbc84a7d51d974f2f15f5c2c /Source/Core
parent357dc72f97d812bf5d393d5f7216af8aa2d2c95a (diff)
fmt: fix 'ambigous overload' error
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/BPMemory.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoCommon/BPMemory.h b/Source/Core/VideoCommon/BPMemory.h
index 4729e06be5..28155a2cd6 100644
--- a/Source/Core/VideoCommon/BPMemory.h
+++ b/Source/Core/VideoCommon/BPMemory.h
@@ -1231,10 +1231,10 @@ struct fmt::formatter<ScissorPos>
template <typename FormatContext>
auto format(const ScissorPos& pos, FormatContext& ctx)
{
- return format_to(ctx.out(),
- "X: {} (raw: {})\n"
- "Y: {} (raw: {})",
- pos.x - 342, pos.x_full, pos.y - 342, pos.y_full);
+ return fmt::format_to(ctx.out(),
+ "X: {} (raw: {})\n"
+ "Y: {} (raw: {})",
+ pos.x - 342, pos.x_full, pos.y - 342, pos.y_full);
}
};
@@ -1257,10 +1257,10 @@ struct fmt::formatter<ScissorOffset>
template <typename FormatContext>
auto format(const ScissorOffset& off, FormatContext& ctx)
{
- return format_to(ctx.out(),
- "X: {} (raw: {})\n"
- "Y: {} (raw: {})",
- (off.x << 1) - 342, off.x_full, (off.y << 1) - 342, off.y_full);
+ return fmt::format_to(ctx.out(),
+ "X: {} (raw: {})\n"
+ "Y: {} (raw: {})",
+ (off.x << 1) - 342, off.x_full, (off.y << 1) - 342, off.y_full);
}
};