diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-05-30 08:47:25 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-30 08:50:43 -0700 |
commit | d83074847ebfe8871188f1f9f1e84ab0451f59e6 (patch) | |
tree | dbe0bd71cb9b8934889df83f221cef83f494a28e /tensorflow/core/user_ops/fact.cc | |
parent | b73fea6e27b17dc4349754e585113e7a8138339e (diff) |
Use "nullptr" for null pointer values
PiperOrigin-RevId: 157468186
Diffstat (limited to 'tensorflow/core/user_ops/fact.cc')
-rw-r--r-- | tensorflow/core/user_ops/fact.cc | 2 |
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>(); |