mirror of
https://github.com/boostorg/coroutine.git
synced 2026-02-10 11:22:32 +00:00
fix exit code of examples
This commit is contained in:
@@ -199,5 +199,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
std::cout << "\nDone" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -67,5 +67,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
std::copy(boost::begin(words), boost::end(words), boost::begin(writer));
|
||||
|
||||
return 0;
|
||||
std::cout << "\nDone" << std::endl;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -63,5 +63,7 @@ int main( int argc, char * argv[])
|
||||
|
||||
boost::thread( thread_fn).join();
|
||||
|
||||
std::cout << "Done" << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user