mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Make sure standard output gets flushed
This commit is contained in:
parent
f39479b948
commit
1303bf4c00
2 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue