From f5f2391f0d925f2a8d0833114f63bd8cb1da27b1 Mon Sep 17 00:00:00 2001 From: Matthew Bentham Date: Thu, 5 Mar 2020 22:32:16 +0000 Subject: COMPMID-3069: Silence clang-8 warning wrt explicit default of deleted operator Signed-off-by: Matthew Bentham Change-Id: Ib94d2770dd7991a1d5aa5e63edcc96714b183033 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/229015 Tested-by: bsgcomp Reviewed-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2851 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- arm_compute/runtime/CL/CLTensor.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arm_compute/runtime/CL/CLTensor.h') diff --git a/arm_compute/runtime/CL/CLTensor.h b/arm_compute/runtime/CL/CLTensor.h index aaf46fbce0..102cb3636a 100644 --- a/arm_compute/runtime/CL/CLTensor.h +++ b/arm_compute/runtime/CL/CLTensor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 ARM Limited. + * Copyright (c) 2016-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -52,12 +52,12 @@ public: /** Destructor */ ~CLTensor() = default; - /** Default copy constructor */ - CLTensor(const CLTensor &) = default; + /** Prevent copying by construction */ + CLTensor(const CLTensor &) = delete; /** Default move constructor */ CLTensor(CLTensor &&) = default; - /** Default copy assignment */ - CLTensor &operator=(const CLTensor &) = default; + /** Prevent copaingy by assignment */ + CLTensor &operator=(const CLTensor &) = delete; /** Default move assignment operator */ CLTensor &operator=(CLTensor &&) = default; -- cgit v1.2.1