fmt 10.0.0-10.1.1 compile fixes

Implicit conversion operators and enums was removed for parity with std::format (fce74caa15).
This commit is contained in:
get
2023-06-11 21:51:49 -05:00
committed by Admiral H. Curtiss
parent 965283c263
commit 63467559b2
8 changed files with 38 additions and 8 deletions

View File

@ -23,6 +23,7 @@
#include <fmt/format.h>
#include "Common/HRWrap.h"
#include "Common/Logging/Log.h"
#include "Common/StringUtil.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"
@ -506,7 +507,7 @@ private:
catch (winrt::hresult_error error)
{
ERROR_LOG_FMT(CONTROLLERINTERFACE,
"WGInput: IRawGameController::GetCurrentReading failed: {:x}", error.code());
"WGInput: IRawGameController::GetCurrentReading failed: {}", error.code());
}
// IGamepad:
@ -518,7 +519,7 @@ private:
}
catch (winrt::hresult_error error)
{
ERROR_LOG_FMT(CONTROLLERINTERFACE, "WGInput: IGamepad::GetCurrentReading failed: {:x}",
ERROR_LOG_FMT(CONTROLLERINTERFACE, "WGInput: IGamepad::GetCurrentReading failed: {}",
error.code());
}
}