Update fmt to allow for v11

Signed-off-by: swurl <swurl@swurl.xyz>
This commit is contained in:
crueter 2025-04-09 19:11:22 -04:00 committed by GitHub
parent 848fd4b34c
commit c3a5f5930f
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194
76 changed files with 106 additions and 110 deletions

View file

@ -7,7 +7,7 @@
#include <string>
#include <utility>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/polyfill_ranges.h"
#include "shader_recompiler/exception.h"

View file

@ -3,7 +3,7 @@
#pragma once
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/common_types.h"
#include "shader_recompiler/exception.h"
@ -102,7 +102,7 @@ struct fmt::formatter<Shader::Maxwell::Location> {
return ctx.begin();
}
template <typename FormatContext>
auto format(const Shader::Maxwell::Location& location, FormatContext& ctx) {
auto format(const Shader::Maxwell::Location& location, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{:04x}", location.Offset());
}
};

View file

@ -3,7 +3,7 @@
#pragma once
#include <fmt/format.h>
#include <fmt/ranges.h>
namespace Shader::Maxwell {
@ -23,7 +23,7 @@ struct fmt::formatter<Shader::Maxwell::Opcode> {
return ctx.begin();
}
template <typename FormatContext>
auto format(const Shader::Maxwell::Opcode& opcode, FormatContext& ctx) {
auto format(const Shader::Maxwell::Opcode& opcode, FormatContext& ctx) const {
return fmt::format_to(ctx.out(), "{}", NameOf(opcode));
}
};

View file

@ -8,7 +8,7 @@
#include <utility>
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <boost/intrusive/list.hpp>