Tidy up JLOG

This commit is contained in:
Nik Bougalis
2015-07-17 13:20:54 -07:00
committed by Vinnie Falco
parent bb251063fc
commit b1b98fa3b0

View File

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