diff options
Diffstat (limited to 'src/graph/backends/GLES/GCDeviceBackend.cpp')
-rw-r--r-- | src/graph/backends/GLES/GCDeviceBackend.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<ITensorHandle> 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<GCTensorHandle>(info); - return std::move(backend_tensor_handle); + return support::cpp14::make_unique<GCTensorHandle>(info); } std::unique_ptr<ITensorHandle> GCDeviceBackend::create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) |