mirror of
https://github.com/boostorg/coroutine2.git
synced 2026-01-24 17:52:44 +00:00
adapt new execution_context API
This commit is contained in:
@@ -108,14 +108,11 @@ int main() {
|
||||
});
|
||||
p.run();
|
||||
});
|
||||
|
||||
// user-code pulls parsed data from parser
|
||||
for(char c:seq){
|
||||
printf("Parsed: %c\n",c);
|
||||
}
|
||||
|
||||
std::cout << "\nDone" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
} catch ( std::exception const& ex) {
|
||||
std::cerr << "exception: " << ex.what() << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user