args -> format_args

This commit is contained in:
Victor Zverovich
2017-12-03 07:32:04 -08:00
parent 10e70a06c9
commit 81bd9e8ea3
11 changed files with 62 additions and 58 deletions

View File

@@ -29,7 +29,7 @@ class CustomArgFormatter : public fmt::arg_formatter<char> {
}
};
std::string custom_vformat(fmt::string_view format_str, fmt::args args) {
std::string custom_vformat(fmt::string_view format_str, fmt::format_args args) {
fmt::memory_buffer buffer;
// Pass custom argument formatter as a template arg to vwrite.
fmt::vformat_to<CustomArgFormatter>(buffer, format_str, args);