aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/jpeg
diff options
context:
space:
mode:
authorGravatar Vincent Vanhoucke <vanhoucke@google.com>2016-08-31 16:01:52 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-31 17:17:24 -0700
commit7a1210bdbdade7210d48db287065ecac950338aa (patch)
treec39be641a1072944866b16d3daed4204c9bb5543 /tensorflow/core/lib/jpeg
parent62c159ffe847eeb788550a32b8be572e41055022 (diff)
Fix ~63 ClangTidy - Performance findings in TensorFlow.
Change: 131891101
Diffstat (limited to 'tensorflow/core/lib/jpeg')
-rw-r--r--tensorflow/core/lib/jpeg/jpeg_mem.cc3
1 files changed, 2 insertions, 1 deletions
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 <algorithm>
#include <memory>
#include <string>
+#include <utility>
#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) {