Replace operator<< with write function

This commit is contained in:
Victor Zverovich
2017-01-22 10:00:34 -08:00
parent b77c8190ca
commit ec15ef7b7b
11 changed files with 105 additions and 89 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ FMT_FUNC void write(std::ostream &os, writer &w) {
FMT_FUNC void vprint(std::ostream &os, CStringRef format_str,
format_args args) {
MemoryWriter w;
w.vwrite(format_str, args);
w.vformat(format_str, args);
internal::write(os, w);
}
} // namespace fmt