Fix building with clang 8.0 (#4346)
This commit is contained in:
@@ -20,10 +20,12 @@ static const int SEED_OFFSET = 135;
|
||||
|
||||
// Emit a warning if the first param is true
|
||||
#define CONDWARNING(ShouldLog, Fmt, ...) \
|
||||
if (ShouldLog) \
|
||||
{ \
|
||||
LOGWARNING(Fmt, __VA_ARGS__); \
|
||||
}
|
||||
do { \
|
||||
if (ShouldLog) \
|
||||
{ \
|
||||
LOGWARNING(Fmt, __VA_ARGS__); \
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user