Make sure standard output gets flushed

This commit is contained in:
Paul Romano 2020-01-08 16:11:20 -06:00
parent f39479b948
commit 1303bf4c00
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ void output(const std::string& message, std::ostream& out, int indent)
while (i_start < length) {
if (length - i_start < line_len) {
// Remainder of message will fit on line
out << message.substr(i_start) << '\n';
out << message.substr(i_start) << std::endl;
break;
} else {