diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-01-12 22:52:21 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-01-13 11:11:08 -0800 |
| commit | 5465775d119bbfb5aa1862e4fc5cb8a7fa015e5a (patch) | |
| tree | 259b4af1a259d994245c62bdf8f63a2671d41f7f /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | ac46b91673adae121e48bb6beedfb5b61339c39b (diff) | |
Fix ambiguous uses of format_to
At least in MSVC (which is not restricted from targetting C++20), these can be resolved to either std::format_to or fmt::format_to (though I'm not sure why the std one is available). We want the latter.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index d8cccdf1bd..daf7e292d1 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -84,8 +84,9 @@ struct fmt::formatter<EFBCopyParams> copy_format = "XFB"; else copy_format = fmt::to_string(uid.copy_format); - return format_to(ctx.out(), "format: {}, copy format: {}, depth: {}, yuv: {}, copy filter: {}", - uid.efb_format, copy_format, uid.depth, uid.yuv, uid.copy_filter); + return fmt::format_to(ctx.out(), + "format: {}, copy format: {}, depth: {}, yuv: {}, copy filter: {}", + uid.efb_format, copy_format, uid.depth, uid.yuv, uid.copy_filter); } }; |
