From 829f8d46f0ae5d26441c6e960a1f3cdc618aea0e Mon Sep 17 00:00:00 2001 From: Peter Bell Date: Mon, 6 Jul 2020 20:01:36 +0100 Subject: Update fmtlib to 7.0.0 --- src/StringUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/StringUtils.cpp') diff --git a/src/StringUtils.cpp b/src/StringUtils.cpp index f1f0314f1..fc19decb3 100644 --- a/src/StringUtils.cpp +++ b/src/StringUtils.cpp @@ -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; } -- cgit v1.2.3