diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 4d9ca05..dfa89b4 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -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); }