Skip to content

Commit

Permalink
Flushing the output in case of buffered stream and no EOL requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Małecki authored and rndi committed Oct 30, 2018
1 parent 8c60631 commit a9de399
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/verbose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ namespace Verbose
Log& Log::operator<<(LogNoEol)
{
noeol = true;
if (on)
{
(*cverb) << std::flush;
}
return *this;
}

Expand Down

0 comments on commit a9de399

Please sign in to comment.