From a9de39974324103b3bf306cda486539d159131a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Ma=C5=82ecki?= Date: Fri, 28 Sep 2018 10:49:11 +0200 Subject: [PATCH] Flushing the output in case of buffered stream and no EOL requested --- apps/verbose.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/verbose.cpp b/apps/verbose.cpp index 6f0a4690c..58cf83fbe 100644 --- a/apps/verbose.cpp +++ b/apps/verbose.cpp @@ -21,6 +21,10 @@ namespace Verbose Log& Log::operator<<(LogNoEol) { noeol = true; + if (on) + { + (*cverb) << std::flush; + } return *this; }