From 7a1210bdbdade7210d48db287065ecac950338aa Mon Sep 17 00:00:00 2001 From: Vincent Vanhoucke Date: Wed, 31 Aug 2016 16:01:52 -0800 Subject: Fix ~63 ClangTidy - Performance findings in TensorFlow. Change: 131891101 --- tensorflow/core/lib/jpeg/jpeg_mem.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tensorflow/core/lib/jpeg') diff --git a/tensorflow/core/lib/jpeg/jpeg_mem.cc b/tensorflow/core/lib/jpeg/jpeg_mem.cc index 9a317f1fd2..ac12798322 100644 --- a/tensorflow/core/lib/jpeg/jpeg_mem.cc +++ b/tensorflow/core/lib/jpeg/jpeg_mem.cc @@ -23,6 +23,7 @@ limitations under the License. #include #include #include +#include #include "tensorflow/core/lib/jpeg/jpeg_handle.h" #include "tensorflow/core/platform/logging.h" @@ -52,7 +53,7 @@ class FewerArgsForCompiler { : datasize_(datasize), flags_(flags), pnwarn_(nwarn), - allocate_output_(allocate_output), + allocate_output_(std::move(allocate_output)), height_read_(0), height_(0), stride_(0) { -- cgit v1.2.3