From: Guido Kanschat Date: Thu, 27 Aug 1998 14:30:52 +0000 (+0000) Subject: Flush after endl X-Git-Tag: v8.0.0~22726 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=275d8d0eb77f066b48d49b6fd2ac480971dcb76c;p=dealii.git Flush after endl git-svn-id: https://svn.dealii.org/trunk@528 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/include/base/logstream.h b/deal.II/base/include/base/logstream.h index a8d0bcc42a..8e4b96915c 100644 --- a/deal.II/base/include/base/logstream.h +++ b/deal.II/base/include/base/logstream.h @@ -160,7 +160,8 @@ operator << (LogStream& s, const char* c) inline void endl(LogStream& s) { - writestuff(s,"\n"); + ostream& (*p) (ostream &) = &endl; + writestuff(s, p); s.was_endl = true; }