summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Logging
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2022-05-13 22:09:01 +0100
committerGitHub <noreply@github.com>2022-05-13 22:09:01 +0100
commitfcb3f9e35ba0f4177937f43dc869a2e461e32da7 (patch)
tree66fb180f6b782604def661105df2482fe70a212e /Source/Core/Common/Logging
parent27c6731a660fb301ec43db31b87d69ae6e66568a (diff)
parent7b8e6c5b3643bb3ec09de3be5598d5e35caa3986 (diff)
Merge pull request #10652 from shuffle2/fmt
update fmt and fix warnings that popped up with vs 17.2
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, ...)