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 216ded6997
commit 9cef9f5dce
76 changed files with 106 additions and 110 deletions

View file

@ -4,7 +4,7 @@
#include <cstring>
#include <random>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/fs/file.h"
#include "common/fs/fs.h"

View file

@ -3,7 +3,7 @@
#pragma once
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/common_funcs.h"
#include "common/common_types.h"

View file

@ -14,7 +14,7 @@
#pragma warning(pop)
#endif
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/fs/file.h"
#include "common/fs/fs.h"

View file

@ -6,7 +6,7 @@
#include <cstdlib>
#include <cstring>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/scope_exit.h"

View file

@ -4,7 +4,7 @@
#include <utility>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "core/core.h"
#include "core/hle/kernel/k_event.h"
#include "core/hle/service/ipc_helpers.h"

View file

@ -5,7 +5,7 @@
#include <array>
#include <chrono>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/common_types.h"
#include "common/intrusive_list.h"
@ -167,7 +167,7 @@ constexpr inline Result GetSpanBetweenTimePoints(s64* out_seconds, const SteadyC
template <>
struct fmt::formatter<Service::PSC::Time::TimeType> : fmt::formatter<fmt::string_view> {
template <typename FormatContext>
auto format(Service::PSC::Time::TimeType type, FormatContext& ctx) {
auto format(Service::PSC::Time::TimeType type, FormatContext& ctx) const {
const string_view name = [type] {
using Service::PSC::Time::TimeType;
switch (type) {
@ -228,7 +228,7 @@ template <>
struct fmt::formatter<Service::PSC::Time::LocationName> : fmt::formatter<fmt::string_view> {
template <typename FormatContext>
auto format(const Service::PSC::Time::LocationName& name, FormatContext& ctx) const {
return formatter<string_view>::format(name.data(), ctx);
return fmt::formatter<string_view>::format(name.data(), ctx);
}
};
@ -236,7 +236,7 @@ template <>
struct fmt::formatter<Service::PSC::Time::RuleVersion> : fmt::formatter<fmt::string_view> {
template <typename FormatContext>
auto format(const Service::PSC::Time::RuleVersion& version, FormatContext& ctx) const {
return formatter<string_view>::format(version.data(), ctx);
return fmt::formatter<string_view>::format(version.data(), ctx);
}
};
@ -270,4 +270,4 @@ struct fmt::formatter<Service::PSC::Time::ContinuousAdjustmentTimePoint>
time_point.rtc_offset, time_point.diff_scale, time_point.shift_amount,
time_point.lower, time_point.upper);
}
};
};

View file

@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/settings.h"

View file

@ -6,7 +6,7 @@
#include <utility>
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "common/microprofile.h"
#include "common/socket_types.h"