summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.h
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2022-01-12 17:16:29 -0800
committerPokechu22 <Pokechu022@gmail.com>2022-01-13 11:11:08 -0800
commit78e43a44042e6407318970753df4d3b5b230e80c (patch)
treeea1856c81aba40902f49bb61ce93529e62abbd81 /Source/Core/VideoCommon/TextureCacheBase.h
parentcc592ab81467409a42584b05d1d06fb4136ff78c (diff)
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.h')
-rw-r--r--Source/Core/VideoCommon/TextureCacheBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h
index 692aab4916..d8cccdf1bd 100644
--- a/Source/Core/VideoCommon/TextureCacheBase.h
+++ b/Source/Core/VideoCommon/TextureCacheBase.h
@@ -77,7 +77,7 @@ struct fmt::formatter<EFBCopyParams>
{
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
template <typename FormatContext>
- auto format(const EFBCopyParams& uid, FormatContext& ctx)
+ auto format(const EFBCopyParams& uid, FormatContext& ctx) const
{
std::string copy_format;
if (uid.copy_format == EFBCopyFormat::XFB)