From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c3a1af639032c132834bf5c08454fb404883727;p=dealii-svn.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; }