Add support for libfmt-11

fmt::join was moved into fmt/ranges.h

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-08-09 08:54:08 +03:00
parent 93617e96c3
commit d7c93d87be
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
9 changed files with 12 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "Common/CommonFuncs.h"
#include "Common/CommonPaths.h"

View File

@ -111,7 +111,7 @@ struct fmt::formatter<ExpansionInterface::EXIDeviceType>
constexpr formatter() : EnumFormatter(names) {}
template <typename FormatContext>
auto format(const ExpansionInterface::EXIDeviceType& e, FormatContext& ctx)
auto format(const ExpansionInterface::EXIDeviceType& e, FormatContext& ctx) const
{
if (e != ExpansionInterface::EXIDeviceType::None)
{

View File

@ -17,6 +17,7 @@
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "Common/Assert.h"
#include "Common/CommonPaths.h"

View File

@ -18,6 +18,7 @@
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "Common/CommonPaths.h"
#include "Common/ENet.h"

View File

@ -7,6 +7,7 @@
#include <cmath>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <QApplication>
#include <QClipboard>

View File

@ -25,6 +25,8 @@
#include <algorithm>
#include <sstream>
#include <fmt/ranges.h>
#include "Common/CommonPaths.h"
#include "Common/Config/Config.h"
#include "Common/HttpRequest.h"

View File

@ -7,6 +7,8 @@
#include <string>
#include <string_view>
#include <fmt/ranges.h>
#include "Common/Assert.h"
#include "Common/GL/GLContext.h"
#include "Common/GL/GLExtensions/GLExtensions.h"

View File

@ -11,6 +11,7 @@
#include <vector>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include "Common/Assert.h"
#include "Common/BitUtils.h"

View File

@ -1,6 +1,8 @@
// Copyright 2014 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/ranges.h>
#include <gtest/gtest.h>
#include "Common/BitField.h"