diff --git a/Source/Core/Core/IOS/FS/FileSystemProxy.cpp b/Source/Core/Core/IOS/FS/FileSystemProxy.cpp index 7113b169e6..6cc86020dd 100644 --- a/Source/Core/Core/IOS/FS/FileSystemProxy.cpp +++ b/Source/Core/Core/IOS/FS/FileSystemProxy.cpp @@ -101,7 +101,7 @@ void FSDevice::DoState(PointerWrap& p) } template -static void LogResult(ResultCode code, std::string_view format, Args&&... args) +static void LogResult(ResultCode code, fmt::format_string format, Args&&... args) { const std::string command = fmt::format(format, std::forward(args)...); const auto type = @@ -112,7 +112,7 @@ static void LogResult(ResultCode code, std::string_view format, Args&&... args) } template -static void LogResult(const Result& result, std::string_view format, Args&&... args) +static void LogResult(const Result& result, fmt::format_string format, Args&&... args) { const auto result_code = result.Succeeded() ? ResultCode::Success : result.Error(); LogResult(result_code, format, std::forward(args)...); diff --git a/Source/Core/VideoCommon/ShaderGenCommon.h b/Source/Core/VideoCommon/ShaderGenCommon.h index b787035a36..edbd931db9 100644 --- a/Source/Core/VideoCommon/ShaderGenCommon.h +++ b/Source/Core/VideoCommon/ShaderGenCommon.h @@ -107,7 +107,7 @@ public: // Writes format strings using fmtlib format strings. template - void Write(std::string_view format, Args&&... args) + void Write(fmt::format_string format, Args&&... args) { fmt::format_to(std::back_inserter(m_buffer), format, std::forward(args)...); }