From 1a8c0734c2f0b2ae5b62c20fd9823cd04e6a2c99 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Fri, 12 Jun 2020 11:16:39 -0700 Subject: [PATCH] (NFC) Replace `NULL` with `nullptr` PiperOrigin-RevId: 316139598 Change-Id: Icee6dd605f5be6938dd01820fc53474abaed71ff --- tensorflow/core/platform/status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/core/platform/status.h b/tensorflow/core/platform/status.h index c3ce61d37bb..5ee93a179db 100644 --- a/tensorflow/core/platform/status.h +++ b/tensorflow/core/platform/status.h @@ -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;