We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25aa415 commit ebcaa42Copy full SHA for ebcaa42
include/dmlc/logging.h
@@ -194,9 +194,9 @@ DEFINE_CHECK_FUNC(_NE, !=)
194
#pragma GCC diagnostic pop
195
196
#define CHECK_BINARY_OP(name, op, x, y) \
197
- if (auto err = dmlc::LogCheck##name(x, y)) \
+ if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
198
dmlc::LogMessageFatal(__FILE__, __LINE__).stream() \
199
- << "Check failed: " << #x " " #op " " #y << *err << ": "
+ << "Check failed: " << #x " " #op " " #y << *__dmlc__log__err << ": "
200
201
// Always-on checking
202
#define CHECK(x) \
0 commit comments