(NFC) Replace NULL with nullptr

PiperOrigin-RevId: 316139598
Change-Id: Icee6dd605f5be6938dd01820fc53474abaed71ff
This commit is contained in:
Mihai Maruseac 2020-06-12 11:16:39 -07:00 committed by TensorFlower Gardener
parent 2dac8cf550
commit 1a8c0734c2

View File

@ -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;