aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/user_ops
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-30 08:47:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-30 08:50:43 -0700
commitd83074847ebfe8871188f1f9f1e84ab0451f59e6 (patch)
treedbe0bd71cb9b8934889df83f221cef83f494a28e /tensorflow/core/user_ops
parentb73fea6e27b17dc4349754e585113e7a8138339e (diff)
Use "nullptr" for null pointer values
PiperOrigin-RevId: 157468186
Diffstat (limited to 'tensorflow/core/user_ops')
-rw-r--r--tensorflow/core/user_ops/fact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/user_ops/fact.cc b/tensorflow/core/user_ops/fact.cc
index 78ae297ca1..c512275506 100644
--- a/tensorflow/core/user_ops/fact.cc
+++ b/tensorflow/core/user_ops/fact.cc
@@ -32,7 +32,7 @@ class FactOp : public OpKernel {
void Compute(OpKernelContext* context) override {
// Output a scalar string.
- Tensor* output_tensor = NULL;
+ Tensor* output_tensor = nullptr;
OP_REQUIRES_OK(context,
context->allocate_output(0, TensorShape(), &output_tensor));
auto output = output_tensor->template scalar<string>();