mirror of
https://github.com/boostorg/asio.git
synced 2026-01-24 17:42:08 +00:00
Use std::endl in tutorial to ensure output is flushed.
This commit is contained in:
@@ -19,7 +19,7 @@ int main()
|
||||
boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));
|
||||
t.wait();
|
||||
|
||||
std::cout << "Hello, world!\n";
|
||||
std::cout << "Hello, world!" << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user