write -> write_str

This commit is contained in:
Victor Zverovich
2014-06-30 15:44:08 -07:00
parent 14e7ed76df
commit b939860d6e
2 changed files with 3 additions and 3 deletions

View File

@@ -1319,7 +1319,7 @@ class Answer {};
template <typename Char>
void format(BasicWriter<Char> &w, const fmt::FormatSpec &spec, Answer) {
w.write("42", spec);
w.write_str("42", spec);
}
TEST(FormatterTest, CustomFormat) {