Skip to content
Snippets Groups Projects
Commit 84196338 authored by Martin Beseda's avatar Martin Beseda
Browse files

ENH: COUT_DEBUG and COUT_INFO macros now contain flush.

parent 2818a003
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@
#include <cassert>
#define COUT_INFO(inp) std::cout << "INFO: " inp;
#define COUT_INFO(inp) std::cout << std::flush << "INFO: " << inp << std::flush
#ifdef L4N_DEBUG
#define COUT_DEBUG(inp) assert(std::cerr << "DEBUG: " inp);
#define COUT_DEBUG(inp) assert(std::cerr << std::flush << "DEBUG: " << inp << std::flush)
#else
#define COUT_DEBUG(inp)
#endif // L4N_DEBUG
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment