Fix sense of CheckOpResult comment.
Committed: https://crrev.com/b7662fc32246dda98df64fd8aa41fddbaae7d2be Cr-Commit-Position: refs/heads/master@{#382056} Review URL: https://codereview.chromium.org/1808053002 Cr-Commit-Position: refs/heads/master@{#382167}
This commit is contained in:
@ -430,7 +430,7 @@ const LogSeverity LOG_0 = LOG_ERROR;
|
||||
// boolean.
|
||||
class CheckOpResult {
|
||||
public:
|
||||
// |message| must be non-null iff the check failed.
|
||||
// |message| must be non-null if and only if the check failed.
|
||||
CheckOpResult(std::string* message) : message_(message) {}
|
||||
// Returns true if the check succeeded.
|
||||
operator bool() const { return !message_; }
|
||||
|
Reference in New Issue
Block a user