summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Logging
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2022-05-10 16:39:12 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2022-05-10 19:25:48 -0700
commitfa17153ebc83cbc0ae7a1d7430d9509db0c6e0d6 (patch)
treeb6f8f4e204ea68b88080e78dd9cb6f59714065f0 /Source/Core/Common/Logging
parent56626f73bf1f5d160aff866f6dd51cd1f3dad87f (diff)
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
Diffstat (limited to 'Source/Core/Common/Logging')
-rw-r--r--Source/Core/Common/Logging/Log.h3
1 files changed, 1 insertions, 2 deletions
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<Args...>(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, ...)