Add optional yield_to arguments

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:14 -07:00
parent 6840f5840f
commit c594bbac3f
5 changed files with 35 additions and 25 deletions
+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);
}
};