mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
This commit is contained in:
@ -25,7 +25,7 @@ struct fmt::formatter<Common::HRWrap>
|
||||
{
|
||||
constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const Common::HRWrap& hr, FormatContext& ctx)
|
||||
auto format(const Common::HRWrap& hr, FormatContext& ctx) const
|
||||
{
|
||||
return fmt::format_to(ctx.out(), "{} ({:#010x})", Common::GetHResultMessage(hr.m_hr),
|
||||
static_cast<u32>(hr.m_hr));
|
||||
|
Reference in New Issue
Block a user