[wpiutil] Upgrade to fmtlib 8.0.0 (#3457)

This commit is contained in:
Tyler Veness
2021-06-21 20:57:42 -07:00
committed by GitHub
parent 4e1fa03087
commit 866571ab41
15 changed files with 1154 additions and 1033 deletions

View File

@@ -20,7 +20,7 @@ void Logger::LogV(unsigned int level, const char* file, unsigned int line,
return;
}
fmt::memory_buffer out;
fmt::vformat_to(out, format, args);
fmt::vformat_to(fmt::appender{out}, format, args);
out.push_back('\0');
m_func(level, file, line, out.data());
}