Add optional yield_to arguments

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:14 -07:00
1 parent 6840f5840f
commit c594bbac3f
5 files changed
+35 -25

No files matched your search

+4 -11
View File
@@ -378,17 +378,10 @@ public:
{
testThrow();
yield_to(std::bind(&read_test::testFailures,
this, std::placeholders::_1));
yield_to(std::bind(&read_test::testReadHeaders,
this, std::placeholders::_1));
yield_to(std::bind(&read_test::testRead,
this, std::placeholders::_1));
yield_to(std::bind(&read_test::testEof,
this, std::placeholders::_1));
yield_to(&read_test::testFailures, this);
yield_to(&read_test::testReadHeaders, this);
yield_to(&read_test::testRead, this);
yield_to(&read_test::testEof, this);
}
};