From 18574c1df29d8547354a92f5230f9be5e7c7336d Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 5 Jun 2019 10:51:07 +0100 Subject: COMPMID-2336: Fix clang-tidy issues Change-Id: Ib9759edaae7c1ed2c5c607abf381667430cf45fc Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/1290 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- src/core/TensorInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/TensorInfo.cpp') diff --git a/src/core/TensorInfo.cpp b/src/core/TensorInfo.cpp index b77a47e3e1..1059cf2497 100644 --- a/src/core/TensorInfo.cpp +++ b/src/core/TensorInfo.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -87,7 +87,7 @@ TensorInfo::TensorInfo(const TensorShape &tensor_shape, size_t num_channels, Dat : TensorInfo() { init(tensor_shape, num_channels, data_type); - _quantization_info = quantization_info; + _quantization_info = std::move(quantization_info); } TensorInfo::TensorInfo(const HOGInfo &hog_info, unsigned int width, unsigned int height) -- cgit v1.2.1