mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up JLOG
This commit is contained in:
committed by
Vinnie Falco
parent
bb251063fc
commit
b1b98fa3b0
@@ -223,7 +223,7 @@ private:
|
||||
// Wraps a Journal::Stream to skip evaluation of
|
||||
// expensive argument lists if the stream is not active.
|
||||
#ifndef JLOG
|
||||
#define JLOG(x) if((x))(x)
|
||||
#define JLOG(x) if (!x) { } else x
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user