diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2020-03-05 22:32:16 +0000 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2020-03-09 13:41:18 +0000 |
commit | f5f2391f0d925f2a8d0833114f63bd8cb1da27b1 (patch) | |
tree | e0a8b3cf332d1236142998ed2ae50968795240bc /arm_compute | |
parent | b6f88b4cce83243068ee8d55a1ebc48567a5fb93 (diff) | |
download | ComputeLibrary-f5f2391f0d925f2a8d0833114f63bd8cb1da27b1.tar.gz |
COMPMID-3069: Silence clang-8 warning wrt explicit default of deleted operator
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: Ib94d2770dd7991a1d5aa5e63edcc96714b183033
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/229015
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2851
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/graph/frontend/Stream.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/CL/CLRuntimeContext.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/CL/CLTensor.h | 10 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h | 6 |
5 files changed, 9 insertions, 25 deletions
diff --git a/arm_compute/graph/frontend/Stream.h b/arm_compute/graph/frontend/Stream.h index 1d9fc1ac35..b52274eeae 100644 --- a/arm_compute/graph/frontend/Stream.h +++ b/arm_compute/graph/frontend/Stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 ARM Limited. + * Copyright (c) 2018-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -53,12 +53,8 @@ public: Stream(size_t id, std::string name); /** Prevent instances of this class from being copied (As this class contains pointers) */ Stream(const Stream &) = delete; - /** Default move constructor */ - Stream(Stream &&) = default; /** Prevent instances of this class from being copied (As this class contains pointers) */ Stream &operator=(const Stream &) = delete; - /** Default move assignment operator */ - Stream &operator=(Stream &&) = default; /** Finalizes the stream for an execution target * * @param[in] target Execution target diff --git a/arm_compute/runtime/CL/CLRuntimeContext.h b/arm_compute/runtime/CL/CLRuntimeContext.h index 5d4a2779a1..791d1deaa7 100644 --- a/arm_compute/runtime/CL/CLRuntimeContext.h +++ b/arm_compute/runtime/CL/CLRuntimeContext.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 ARM Limited. + * Copyright (c) 2019-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -44,12 +44,8 @@ public: ~CLRuntimeContext() = default; /** Prevent instances of this class from being copied (As this class contains pointers) */ CLRuntimeContext(const CLRuntimeContext &) = delete; - /** Default move constructor */ - CLRuntimeContext(CLRuntimeContext &&) = default; /** Prevent instances of this class from being copied (As this class contains pointers) */ CLRuntimeContext &operator=(const CLRuntimeContext &) = delete; - /** Default move assignment operator */ - CLRuntimeContext &operator=(CLRuntimeContext &&) = default; /** CPU Scheduler setter */ void set_gpu_scheduler(CLScheduler *scheduler); 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; diff --git a/arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h b/arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h index 8c91a5d686..fb6967f7e5 100644 --- a/arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h +++ b/arm_compute/runtime/CL/functions/CLGenerateProposalsLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 ARM Limited. + * Copyright (c) 2019-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -65,12 +65,8 @@ public: CLGenerateProposalsLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Prevent instances of this class from being copied (As this class contains pointers) */ CLGenerateProposalsLayer(const CLGenerateProposalsLayer &) = delete; - /** Default move constructor */ - CLGenerateProposalsLayer(CLGenerateProposalsLayer &&) = default; /** Prevent instances of this class from being copied (As this class contains pointers) */ CLGenerateProposalsLayer &operator=(const CLGenerateProposalsLayer &) = delete; - /** Default move assignment operator */ - CLGenerateProposalsLayer &operator=(CLGenerateProposalsLayer &&) = default; /** Set the input and output tensors. * diff --git a/arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h b/arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h index 0e236891d1..7c470fbaf0 100644 --- a/arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h +++ b/arm_compute/runtime/NEON/functions/NEGenerateProposalsLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 ARM Limited. + * Copyright (c) 2019-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -64,12 +64,8 @@ public: NEGenerateProposalsLayer(std::shared_ptr<IMemoryManager> memory_manager = nullptr); /** Prevent instances of this class from being copied (As this class contains pointers) */ NEGenerateProposalsLayer(const NEGenerateProposalsLayer &) = delete; - /** Default move constructor */ - NEGenerateProposalsLayer(NEGenerateProposalsLayer &&) = default; /** Prevent instances of this class from being copied (As this class contains pointers) */ NEGenerateProposalsLayer &operator=(const NEGenerateProposalsLayer &) = delete; - /** Default move assignment operator */ - NEGenerateProposalsLayer &operator=(NEGenerateProposalsLayer &&) = default; /** Set the input and output tensors. * |