internal::FormatParser -> BasicFormatter.

This commit is contained in:
Victor Zverovich
2014-07-08 16:38:50 -07:00
parent e825156add
commit b9a06bafd8
4 changed files with 19 additions and 23 deletions
+1 -1
View File
@@ -1318,7 +1318,7 @@ TEST(FormatterTest, FormatUsingIOStreams) {
class Answer {};
template <typename Char>
void format(fmt::internal::FormatParser<Char> &f, const Char *, Answer) {
void format(fmt::BasicFormatter<Char> &f, const Char *, Answer) {
f.writer() << "42";
}
+1 -1
View File
@@ -185,7 +185,7 @@ TEST(UtilTest, MakeArg) {
EXPECT_EQ(fmt::internal::Arg::CUSTOM, arg.type);
arg.custom.value = &t;
fmt::Writer w;
fmt::internal::FormatParser<char> formatter(w);
fmt::BasicFormatter<char> formatter(w);
arg.custom.format(&formatter, &t, "}");
EXPECT_EQ("test", w.str());
}