Parameterize more functions on string type

This commit is contained in:
Victor Zverovich
2018-09-30 07:03:08 -07:00
parent 674999c527
commit 5bced12421
4 changed files with 24 additions and 27 deletions

View File

@@ -1836,7 +1836,7 @@ TEST(StrTest, Convert) {
EXPECT_EQ("2012-12-9", s);
}
static std::string vformat_message(int id, const char *format, fmt::format_args args) {
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);