Make all custom fmt::formatter's format functions const

fmt 8.0.0 requires this.
This commit is contained in:
Pokechu22
2022-01-12 17:16:29 -08:00
parent cc592ab814
commit 78e43a4404
11 changed files with 63 additions and 62 deletions

View File

@ -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)