Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

Unified Diff: base/check_example.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/check_example.cc
diff --git a/base/check_example.cc b/base/check_example.cc
index 4b3f4287dbf1455257dc067c4cda057d481e2e89..2fa08dfebc4e3129e31516d51237b0dbe00c6b0b 100644
--- a/base/check_example.cc
+++ b/base/check_example.cc
@@ -12,7 +12,8 @@
// executable.
void DoCheck(bool b) {
- CHECK(b) << "DoCheck " << b;
+ // DoCheck |b|
+ CHECK(b);
}
void DoCheckEq(int x, int y) {

Powered by Google App Engine
This is Rietveld 408576698