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:
get 2023-06-11 21:51:49 -05:00 committed by Admiral H. Curtiss
commit 63467559b2
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
8 changed files with 38 additions and 8 deletions

View file

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