2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-23 17:32:07 +00:00

Use std::endl in tutorial to ensure output is flushed.

This commit is contained in:
Christopher Kohlhoff
2015-03-19 23:49:25 +11:00
parent 2580addfc0
commit 878b787fce
5 changed files with 9 additions and 9 deletions

View File

@@ -14,7 +14,7 @@
void print(const boost::system::error_code& /*e*/)
{
std::cout << "Hello, world!\n";
std::cout << "Hello, world!" << std::endl;
}
int main()