mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
remove redundant flush() from example:
`<<std::endl` already flushes the stream; no need for a separate call.
This commit is contained in:
committed by
Vinnie Falco
parent
1c9c87f93c
commit
d6bac17bff
@ -6,6 +6,7 @@ Version 74:
|
|||||||
* Remove common/file_body.hpp
|
* Remove common/file_body.hpp
|
||||||
* Add file_posix
|
* Add file_posix
|
||||||
* Fix Beast include directories for cmake targets
|
* Fix Beast include directories for cmake targets
|
||||||
|
* remove redundant flush() from example
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ int main()
|
|||||||
[](std::string what, beast::error_code ec)
|
[](std::string what, beast::error_code ec)
|
||||||
{
|
{
|
||||||
std::cerr << what << ": " << ec.message() << std::endl;
|
std::cerr << what << ": " << ec.message() << std::endl;
|
||||||
std::cerr.flush();
|
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user