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

+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);
}
};