Closed mbreiling closed 1 year ago
THX for our contribution. But this introduces a performance sisue as all stream based formatting is being executed not matter if the result is printed or not. This is exactly what is being prevented by actual implementation.
The correct solutiion to your problem should be
if (something) {
SCCINFO() << whatever;
} else
other stuff
Corrected the macros SCCINFO .. SCCTRACEALL. There was a problem with them in structures like if (something) SCCINFO() << whatever; else other stuff
because the if inside the macro was paired to the else in this structure and produced erroneous behaviour.