1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-13 04:17:11 +02:00

Update cppfmt to current git.

This commit is contained in:
Sandu Liviu Catalin
2021-08-22 20:11:41 +03:00
parent fa4644d00f
commit 0008869ddd
62 changed files with 993 additions and 25812 deletions

View File

@ -13,8 +13,8 @@ void invoke_inner(fmt::string_view format_str, Rep rep) {
#if FMT_FUZZ_FORMAT_TO_STRING
std::string message = fmt::format(format_str, value);
#else
fmt::memory_buffer buf;
fmt::format_to(buf, format_str, value);
auto buf = fmt::memory_buffer();
fmt::format_to(std::back_inserter(buf), format_str, value);
#endif
} catch (std::exception&) {
}