Commit ea2e9c56 authored by Martin Marinov's avatar Martin Marinov

Fix a bug in DEB_out() causing undesired new lines in the debug output

parent c133e45f
......@@ -155,8 +155,7 @@ std::string to_string(const T& _t)
#define DEB_exec_if(CC, LL, AA) DEB_if(CC, LL, AA)
#define DEB_out(LL, AA) DEB_out_if(true, LL, AA)
#define DEB_out_if(CC, LL, AA) \
DEB_if(CC, LL, deb.stream() << AA << ::Base::ENDL)
#define DEB_out_if(CC, LL, AA) DEB_if(CC, LL, deb.stream() << AA)
#define DEB_line(LL, AA) DEB_line_if(true, LL, AA)
#define DEB_line_if(CC, LL, AA) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment