mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Avoid std::endl
:)
This commit is contained in:
parent
4ffab15e77
commit
43f378c6b3
|
@ -10687,7 +10687,7 @@ Requires messy cast-and-macro-laden code to get working right.
|
|||
|
||||
void error(int severity)
|
||||
{
|
||||
std::cerr << std::endl;
|
||||
std::cerr << '\n' << std::flush;
|
||||
std::exit(severity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user