diff options
Diffstat (limited to 'absl/log/check.h')
-rw-r--r-- | absl/log/check.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/log/check.h b/absl/log/check.h index 172436a6..ef1bd531 100644 --- a/absl/log/check.h +++ b/absl/log/check.h @@ -54,7 +54,7 @@ // Might produce a message like: // // Check failed: !cheese.empty() Out of Cheese -#define CHECK(condition) ABSL_CHECK_IMPL(condition) +#define CHECK(condition) ABSL_CHECK_IMPL(condition, #condition) // QCHECK() // @@ -62,7 +62,7 @@ // not run registered error handlers (as `QFATAL`). It is useful when the // problem is definitely unrelated to program flow, e.g. when validating user // input. -#define QCHECK(condition) ABSL_QCHECK_IMPL(condition) +#define QCHECK(condition) ABSL_QCHECK_IMPL(condition, #condition) // PCHECK() // |