mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
This commit is contained in:
parent
cc592ab814
commit
78e43a4404
11 changed files with 63 additions and 62 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue