Simplify API

This commit is contained in:
Victor Zverovich
2017-02-05 06:54:03 -08:00
parent 624c58682d
commit a13b96ed88
10 changed files with 28 additions and 33 deletions

View File

@@ -45,7 +45,7 @@ class CustomPrintfArgFormatter : public PrintfArgFormatter<char> {
}
};
std::string custom_vformat(fmt::CStringRef format_str, fmt::format_args args) {
std::string custom_vformat(fmt::CStringRef format_str, fmt::args args) {
fmt::MemoryWriter writer;
// Pass custom argument formatter as a template arg to vformat.
fmt::vwrite<CustomArgFormatter>(writer, format_str, args);