Simplify API
This commit is contained in:
1 parent
624c58682d
commit
a13b96ed88
10 files changed
+28
-33
No files matched your search
@@ -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()));
|
||||
|
||||
Reference in new issue
Block a user