Update format_to taking a buffer and remove undocumented vformat_to overload

This commit is contained in:
Victor Zverovich committed 2021-05-30 07:57:51 -07:00
1 parent 832ec098fc
commit 11a14db286
5 files changed
+19 -26

No files matched your search

+1 -1
View File
@@ -1664,7 +1664,7 @@ TEST(format_test, join_bytes) {
std::string vformat_message(int id, const char* format, fmt::format_args args) {
fmt::memory_buffer buffer;
format_to(buffer, "[{}] ", id);
vformat_to(buffer, format, args);
vformat_to(fmt::appender(buffer), format, args);
return to_string(buffer);
}