mirror of
https://github.com/boostorg/coroutine2.git
synced 2026-02-08 22:53:01 +00:00
fix formating
This commit is contained in:
@@ -11,14 +11,13 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
int i = 0;
|
||||
boost::coroutines2::coroutine< void >::push_type sink(
|
||||
[&]( boost::coroutines2::coroutine< void >::pull_type & source) {
|
||||
std::cout << "inside coroutine-fn" << std::endl;
|
||||
});
|
||||
sink();
|
||||
|
||||
std::cout << "\nDone" << std::endl;
|
||||
std::cout << "Done" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user