mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Dep/fmt: Upgrade to 10.2.1
This commit is contained in:
@@ -122,4 +122,8 @@ struct fmt::formatter<Optional<T>, Char> : formatter<T, Char>
|
||||
}
|
||||
};
|
||||
|
||||
// allow implicit enum to int conversions for formatting
|
||||
template <typename E, std::enable_if_t<std::is_enum_v<E>, std::nullptr_t> = nullptr>
|
||||
auto format_as(E e) { return std::underlying_type_t<E>(e); }
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user