Update fmtlib to 7.0.0
This commit is contained in:
+1
-1
Submodule lib/fmt updated: 9bdd1596ce...5173a76ba4
+1
-1
@@ -90,7 +90,7 @@ void cLogger::LogPrintf(
|
||||
{
|
||||
fmt::memory_buffer Buffer;
|
||||
WriteLogOpener(Buffer);
|
||||
fmt::printf(Buffer, fmt::to_string_view(a_Format), a_ArgList);
|
||||
fmt::vprintf(Buffer, fmt::to_string_view(a_Format), a_ArgList);
|
||||
fmt::format_to(Buffer, "\n");
|
||||
|
||||
LogLine(std::string_view(Buffer.data(), Buffer.size()), a_LogLevel);
|
||||
|
||||
@@ -695,7 +695,7 @@ AString cFile::GetExecutableExt(void)
|
||||
int cFile::vPrintf(const char * a_Fmt, fmt::printf_args a_ArgList)
|
||||
{
|
||||
fmt::memory_buffer Buffer;
|
||||
fmt::printf(Buffer, fmt::to_string_view(a_Fmt), a_ArgList);
|
||||
fmt::vprintf(Buffer, fmt::to_string_view(a_Fmt), a_ArgList);
|
||||
return Write(Buffer.data(), Buffer.size());
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -56,7 +56,7 @@ AString & vPrintf(AString & str, const char * format, fmt::printf_args args)
|
||||
{
|
||||
ASSERT(format != nullptr);
|
||||
fmt::memory_buffer Buffer;
|
||||
fmt::printf(Buffer, fmt::to_string_view(format), args);
|
||||
fmt::vprintf(Buffer, fmt::to_string_view(format), args);
|
||||
str.assign(Buffer.data(), Buffer.size());
|
||||
return str;
|
||||
}
|
||||
@@ -79,7 +79,7 @@ AString & vAppendPrintf(AString & a_String, const char * format, fmt::printf_arg
|
||||
{
|
||||
ASSERT(format != nullptr);
|
||||
fmt::memory_buffer Buffer;
|
||||
fmt::printf(Buffer, fmt::to_string_view(format), args);
|
||||
fmt::vprintf(Buffer, fmt::to_string_view(format), args);
|
||||
a_String.append(Buffer.data(), Buffer.size());
|
||||
return a_String;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,8 @@
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
||||
#pragma clang diagnostic ignored "-Wunknown-warning-option"
|
||||
#pragma clang diagnostic ignored "-Wsign-conversion"
|
||||
#pragma clang diagnostic ignored "-Wsigned-enum-bitfield"
|
||||
#pragma clang diagnostic ignored "-Wundefined-func-template"
|
||||
#pragma clang diagnostic ignored "-Wc++2a-compat"
|
||||
#endif
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
Reference in New Issue
Block a user