From: Wolfgang Bangerth Date: Fri, 7 Sep 2012 20:07:42 +0000 (+0000) Subject: Use '\n' instead of std::endl and add a std::flush at the end. X-Git-Tag: v8.0.0~2160 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c0245821356f7c359a931a38b0e9ad9ed48b21;p=dealii.git Use '\n' instead of std::endl and add a std::flush at the end. git-svn-id: https://svn.dealii.org/trunk@26249 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/table_handler.cc b/deal.II/source/base/table_handler.cc index 32d26974c4..6a98b15fa3 100644 --- a/deal.II/source/base/table_handler.cc +++ b/deal.II/source/base/table_handler.cc @@ -377,7 +377,7 @@ void TableHandler::write_text(std::ostream &out, { // print column key with column number. enumerate // columns starting with 1 - out << "# " << j+1 << ": " << key << std::endl; + out << "# " << j+1 << ": " << key << '\n'; break; } @@ -432,8 +432,9 @@ void TableHandler::write_text(std::ostream &out, // pad after this column out << " "; } - out << std::endl; + out << '\n'; } + out << std::flush; }