From aa3240d3e2a575c436ec60ea0a31e8375d997425 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 10 May 2018 16:39:25 +0100 Subject: COMPMID-959: Fixed Clang-tidy error Change-Id: Ice1f3b44ae1f503c47b8caf2c3c74f2e976826c7 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130757 Reviewed-by: Georgios Pinitas Tested-by: Jenkins --- src/graph/Tensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph') diff --git a/src/graph/Tensor.cpp b/src/graph/Tensor.cpp index 47fb5c65bc..287e783c26 100644 --- a/src/graph/Tensor.cpp +++ b/src/graph/Tensor.cpp @@ -28,7 +28,7 @@ namespace arm_compute namespace graph { Tensor::Tensor(TensorID id, TensorDescriptor desc) - : _id(id), _desc(desc), _handle(nullptr), _accessor(nullptr), _bound_edges() + : _id(id), _desc(std::move(desc)), _handle(nullptr), _accessor(nullptr), _bound_edges() { } @@ -108,4 +108,4 @@ const std::set Tensor::bound_edges() const return _bound_edges; } } // namespace graph -} // namespace arm_compute \ No newline at end of file +} // namespace arm_compute -- cgit v1.2.1