diff options
author | 2018-05-13 16:52:14 -0700 | |
---|---|---|
committer | 2018-05-13 16:55:00 -0700 | |
commit | 8eb34c50b997ff74e8b4bfb27abcbd03910c81b3 (patch) | |
tree | 47a0a6b71cbbafdf67c5aaed9391e117e1a8dbb0 /tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc | |
parent | 13980cc155d514eaa0a620b39d1396616a392775 (diff) |
ClangTidy - Legacy cleanup:
* use nullptr
* converting integer literal to bool, use bool literal instead
* annotate this function with 'override' or (rarely) 'final'
* prefer using 'override' or (rarely) 'final' instead of 'virtual'
PiperOrigin-RevId: 196441181
Diffstat (limited to 'tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc')
-rw-r--r-- | tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc b/tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc index 30da23d212..cd7e742e5c 100644 --- a/tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc +++ b/tensorflow/core/grappler/optimizers/arithmetic_optimizer.cc @@ -281,7 +281,7 @@ class ArithmeticOptimizerStage : public GraphOptimizerStage<string> { const ArithmeticOptimizerContext ctx_ext) : GraphOptimizerStage("ArithmeticOptimizer", name, ctx), ctx_ext_(ctx_ext) {} - virtual ~ArithmeticOptimizerStage() = default; + ~ArithmeticOptimizerStage() override = default; protected: // Simplification graph rewrite can create additional nodes that are inputs |