From b1aaf20e5759be6283ed13c19f91f658705bc009 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 2 Apr 2016 20:59:24 +0100 Subject: epee: flush output after a message This is equivalent to line buffering, as C++ seems to lack a setvbuf equivalent which alows line buffering. --- contrib/epee/include/misc_log_ex.h | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3