From fa17153ebc83cbc0ae7a1d7430d9509db0c6e0d6 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 10 May 2022 16:39:12 -0700 Subject: fmt: use make_format_args instead of make_args_checked make_args_checked is deprecated see https://github.com/fmtlib/fmt/pull/2760 and the linked comment --- Source/Core/Common/Logging/Log.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/Common/Logging') diff --git a/Source/Core/Common/Logging/Log.h b/Source/Core/Common/Logging/Log.h index 092a9b4dc6..98d420bda2 100644 --- a/Source/Core/Common/Logging/Log.h +++ b/Source/Core/Common/Logging/Log.h @@ -94,8 +94,7 @@ void GenericLogFmt(LogLevel level, LogType type, const char* file, int line, con static_assert(NumFields == sizeof...(args), "Unexpected number of replacement fields in format string; did you pass too few or " "too many arguments?"); - GenericLogFmtImpl(level, type, file, line, format, - fmt::make_args_checked(format, args...)); + GenericLogFmtImpl(level, type, file, line, format, fmt::make_format_args(args...)); } void GenericLog(LogLevel level, LogType type, const char* file, int line, const char* fmt, ...) -- cgit v1.2.3