From 5465775d119bbfb5aa1862e4fc5cb8a7fa015e5a Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 12 Jan 2022 22:52:21 -0800 Subject: 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. --- Source/Core/VideoCommon/TextureCacheBase.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.h') 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 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); } }; -- cgit v1.2.3