Add brackets and else statement to KI_TRACE.

This commit is contained in:
Alex 2022-07-17 20:42:32 +03:00 committed by Seth Hillbrand
parent 763c77eab8
commit 0ba9ae9fb7
1 changed files with 6 additions and 1 deletions

View File

@ -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_