From 0b192e84510c006d87cee3c29f95511ad088b704 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 20 Feb 2020 17:09:28 +0000 Subject: COMPMID-3067: Address gcc9 failures Signed-off-by: Georgios Pinitas Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/graph/backends/GLES/GCDeviceBackend.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/graph/backends/GLES') diff --git a/src/graph/backends/GLES/GCDeviceBackend.cpp b/src/graph/backends/GLES/GCDeviceBackend.cpp index 83e2436ddb..bb674ce8af 100644 --- a/src/graph/backends/GLES/GCDeviceBackend.cpp +++ b/src/graph/backends/GLES/GCDeviceBackend.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -111,9 +111,8 @@ std::unique_ptr GCDeviceBackend::create_tensor(const Tensor &tens // Create backend tensor handle TensorInfo info(tensor_desc.shape, 1, tensor_desc.data_type, tensor_desc.quant_info); info.set_data_layout(tensor_desc.layout); - auto backend_tensor_handle = support::cpp14::make_unique(info); - return std::move(backend_tensor_handle); + return support::cpp14::make_unique(info); } std::unique_ptr GCDeviceBackend::create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) -- cgit v1.2.1