mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
fmt 10.0.0-10.1.1 compile fixes
Implicit conversion operators and enums was removed for parity with std::format (fce74caa15
).
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
#include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <fmt/os.h>
|
||||
|
||||
#include <fmt/std.h>
|
||||
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
@ -1863,7 +1863,7 @@ enum class ColorChannel : u32
|
||||
template <>
|
||||
struct fmt::formatter<ColorChannel> : EnumFormatter<ColorChannel::Alpha>
|
||||
{
|
||||
formatter() : EnumFormatter({"Red", "Green", "Blue", "Alpha"}) {}
|
||||
constexpr formatter() : EnumFormatter({"Red", "Green", "Blue", "Alpha"}) {}
|
||||
};
|
||||
|
||||
enum class KonstSel : u32
|
||||
|
@ -98,7 +98,6 @@ struct EFBCopyParams
|
||||
template <>
|
||||
struct fmt::formatter<EFBCopyParams>
|
||||
{
|
||||
std::shared_ptr<int> state;
|
||||
constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const EFBCopyParams& uid, FormatContext& ctx) const
|
||||
|
Reference in New Issue
Block a user