fix AbstractUI redefine of DEBUG_TRACE to still use PBD::debug_print-ish stuff
This commit is contained in:
parent
37f859197b
commit
7130deafdf
|
@ -45,8 +45,9 @@ using namespace std;
|
|||
|
||||
#ifndef NDEBUG
|
||||
#undef DEBUG_TRACE
|
||||
/* cannot use debug transmitter system here because it will cause recursion */
|
||||
#define DEBUG_TRACE(bits,str) if (((bits) & PBD::debug_bits).any()) { std::cout << # bits << ": " << str; }
|
||||
/* cannot use the regular macro here, because PBD::debug_print() uses the debug
|
||||
* transmitter system and it will cause recursion */
|
||||
#define DEBUG_TRACE(bits,str) if (((bits) & PBD::debug_bits).any()) { PBD::debug_only_print (#bits, str); }
|
||||
#endif
|
||||
|
||||
template<typename RequestBuffer> void
|
||||
|
|
Loading…
Reference in New Issue