mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +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
|
@ -57,7 +57,7 @@ struct fmt::formatter<DX11::DX11HRWrap>
|
|||
{
|
||||
constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); }
|
||||
template <typename FormatContext>
|
||||
auto format(const DX11::DX11HRWrap& hr, FormatContext& ctx)
|
||||
auto format(const DX11::DX11HRWrap& hr, FormatContext& ctx) const
|
||||
{
|
||||
if (hr.m_hr == DXGI_ERROR_DEVICE_REMOVED && DX11::D3D::device != nullptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue