Replace std::endl with \n and flush

In some places the `std::flush` was not added, as it was sufficiently
obvious that the flush semantics are not intended. There are likely
other places where the flush semantics aren't intended, but that
is a cleanup for later.
This commit is contained in:
Martin Hořeňovský
2021-05-29 13:15:46 +02:00
parent 2ae28fc852
commit c9027375a3
6 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ namespace {
void XmlWriter::newlineIfNecessary() {
if( m_needsNewline ) {
m_os << std::endl;
m_os << '\n' << std::flush;
m_needsNewline = false;
}
}