(NFC) Replace NULL
with nullptr
PiperOrigin-RevId: 316139598 Change-Id: Icee6dd605f5be6938dd01820fc53474abaed71ff
This commit is contained in:
parent
2dac8cf550
commit
1a8c0734c2
@ -56,7 +56,7 @@ class Status {
|
||||
static Status OK() { return Status(); }
|
||||
|
||||
/// Returns true iff the status indicates success.
|
||||
bool ok() const { return (state_ == NULL); }
|
||||
bool ok() const { return (state_ == nullptr); }
|
||||
|
||||
tensorflow::error::Code code() const {
|
||||
return ok() ? tensorflow::error::OK : state_->code;
|
||||
|
Loading…
Reference in New Issue
Block a user