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
+1 -1
View File
@@ -65,7 +65,7 @@ struct TestArgFormatter : fmt::ArgFormatter<char> {
TEST(OStreamTest, CustomArg) {
fmt::MemoryWriter writer;
fmt::context ctx("}", fmt::format_args());
fmt::context ctx("}", fmt::args());
fmt::format_specs spec;
TestArgFormatter af(writer, ctx, spec);
visit(af, fmt::internal::make_arg<fmt::context>(TestEnum()));