Browse Source

Add brackets and else statement to KI_TRACE.

7.0
Alex 3 years ago
committed by Seth Hillbrand
parent
commit
0ba9ae9fb7
  1. 7
      include/trace_helpers.h

7
include/trace_helpers.h

@ -268,6 +268,11 @@ private:
#define KI_TRACE( aWhat, ... ) \
if( TRACE_MANAGER::Instance().IsTraceEnabled( aWhat ) ) \
TRACE_MANAGER::Instance().Trace( aWhat, __VA_ARGS__ )
{ \
TRACE_MANAGER::Instance().Trace( aWhat, __VA_ARGS__ ); \
} \
else \
{ \
}
#endif // _TRACE_HELPERS_H_
Loading…
Cancel
Save