mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Avoid std::endl :)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user