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
+1 -2
View File
@@ -132,8 +132,7 @@ public:
{
testSpecialMembers();
yield_to(std::bind(&self::testRead,
this, std::placeholders::_1));
yield_to(&self::testRead, this);
}
};