mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Make all custom fmt::formatter's format functions const
fmt 8.0.0 requires this.
This commit is contained in:
@ -205,7 +205,7 @@ struct fmt::formatter<DX12::DX12HRWrap>
|
||||
{
|
||||
constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const DX12::DX12HRWrap& hr, FormatContext& ctx)
|
||||
auto format(const DX12::DX12HRWrap& hr, FormatContext& ctx) const
|
||||
{
|
||||
if (hr.m_hr == DXGI_ERROR_DEVICE_REMOVED && DX12::g_dx_context != nullptr &&
|
||||
DX12::g_dx_context->GetDevice() != nullptr)
|
||||
|
Reference in New Issue
Block a user