From 63467559b20682a6b9e4ec43c6b43456e1fca111 Mon Sep 17 00:00:00 2001 From: get <45425365+Minty-Meeo@users.noreply.github.com> Date: Sun, 11 Jun 2023 21:51:49 -0500 Subject: fmt 10.0.0-10.1.1 compile fixes Implicit conversion operators and enums was removed for parity with std::format (https://github.com/fmtlib/fmt/commit/fce74caa15b24cbc0fcafe4706692cb06cb0b815). --- Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp index fc6441bb8d..b31c5f1f8e 100644 --- a/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/WGInput/WGInput.cpp @@ -23,6 +23,7 @@ #include +#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()); } } -- cgit v1.2.3