mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
fmt: fix 'ambigous overload' error
This commit is contained in:
parent
357dc72f97
commit
56626f73bf
@ -1231,7 +1231,7 @@ struct fmt::formatter<ScissorPos>
|
||||
template <typename FormatContext>
|
||||
auto format(const ScissorPos& pos, FormatContext& ctx)
|
||||
{
|
||||
return format_to(ctx.out(),
|
||||
return fmt::format_to(ctx.out(),
|
||||
"X: {} (raw: {})\n"
|
||||
"Y: {} (raw: {})",
|
||||
pos.x - 342, pos.x_full, pos.y - 342, pos.y_full);
|
||||
@ -1257,7 +1257,7 @@ struct fmt::formatter<ScissorOffset>
|
||||
template <typename FormatContext>
|
||||
auto format(const ScissorOffset& off, FormatContext& ctx)
|
||||
{
|
||||
return format_to(ctx.out(),
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user