remove redundant flush() from example:

`<<std::endl` already flushes the stream; no need for a separate call.
This commit is contained in:
Andrzej Krzemieński authored and Vinnie Falco committed 2017-07-20 08:15:30 -07:00
1 parent 1c9c87f93c
commit d6bac17bff
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ Version 74:
* Remove common/file_body.hpp
* Add file_posix
* Fix Beast include directories for cmake targets
* remove redundant flush() from example
--------------------------------------------------------------------------------
-1
View File
@@ -25,7 +25,6 @@ int main()
[](std::string what, beast::error_code ec)
{
std::cerr << what << ": " << ec.message() << std::endl;
std::cerr.flush();
return EXIT_FAILURE;
};