diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-01-12 17:16:29 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-01-13 11:11:08 -0800 |
| commit | 78e43a44042e6407318970753df4d3b5b230e80c (patch) | |
| tree | ea1856c81aba40902f49bb61ce93529e62abbd81 /Source/Core/VideoCommon/TextureCacheBase.h | |
| parent | cc592ab81467409a42584b05d1d06fb4136ff78c (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.h | 2 |
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) |
