MCPcopy Create free account
hub / github.com/dachev/node-cld / CheckOpString

Method CheckOpString

chromium/base/logging.h:426–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424// true iff the pointer is NULL.
425struct CheckOpString {
426 CheckOpString(string* str) : str_(str) { }
427 // No destructor: if str_ is non-NULL, we're about to LOG(FATAL),
428 // so there's no point in cleaning up str_.
429 operator bool() const { return PREDICT_FALSE(str_ != NULL); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected