diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-02 20:59:24 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-02 20:59:24 +0100 |
| commit | b1aaf20e5759be6283ed13c19f91f658705bc009 (patch) | |
| tree | b7ec638ff1c5bce0aa5768434821320ea53382fd /contrib | |
| parent | e7c8a32a288b9e5d82da09c8e077f7ed0e440fec (diff) | |
| download | monzero-core-b1aaf20e5759be6283ed13c19f91f658705bc009.tar.gz monzero-core-b1aaf20e5759be6283ed13c19f91f658705bc009.tar.xz monzero-core-b1aaf20e5759be6283ed13c19f91f658705bc009.zip | |
epee: flush output after a message
This is equivalent to line buffering, as C++ seems to lack
a setvbuf equivalent which alows line buffering.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/epee/include/misc_log_ex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h index d1451ff12..7cb1e61aa 100644 --- a/contrib/epee/include/misc_log_ex.h +++ b/contrib/epee/include/misc_log_ex.h @@ -424,6 +424,7 @@ namespace log_space } std::cout << buf; + std::cout << std::flush; #endif reset_console_color(); return true; |
