mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
This commit is contained in:
@ -62,7 +62,7 @@ public:
|
||||
}
|
||||
|
||||
template <typename FormatContext>
|
||||
auto format(const T& e, FormatContext& ctx)
|
||||
auto format(const T& e, FormatContext& ctx) const
|
||||
{
|
||||
const auto value_s = static_cast<std::underlying_type_t<T>>(e); // Possibly signed
|
||||
const auto value_u = static_cast<std::make_unsigned_t<T>>(value_s); // Always unsigned
|
||||
|
Reference in New Issue
Block a user