diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-21 13:21:37 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-26 11:08:16 +0000 |
commit | ca4111d6eef00d244145e9b32e87fc101034527d (patch) | |
tree | a1092c85661a37a12e5ecc63da8da506cd99e2e0 /arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h | |
parent | 4370cffc7fb0da7fb486b9d06d24e16169521876 (diff) | |
download | ComputeLibrary-ca4111d6eef00d244145e9b32e87fc101034527d.tar.gz |
COMPMID-2819: Delete move semantics from classes that use std::mutex
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I6ea0ab7af7d2b9cb2dcb23627eb909cf7e88a5b0
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2775
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h')
-rw-r--r-- | arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h b/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h index de02784b25..597a093d70 100644 --- a/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h +++ b/arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 ARM Limited. + * Copyright (c) 2016-2020 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -49,10 +49,10 @@ public: NEMinMaxKernel(const NEMinMaxKernel &) = delete; /** Prevent instances of this class from being copied (As this class contains pointers) */ NEMinMaxKernel &operator=(const NEMinMaxKernel &) = delete; - /** Allow instances of this class to be moved */ - NEMinMaxKernel(NEMinMaxKernel &&) = default; - /** Allow instances of this class to be moved */ - NEMinMaxKernel &operator=(NEMinMaxKernel &&) = default; + /** Prevent instances of this class from being moved (As this class contains non movable objects) */ + NEMinMaxKernel(NEMinMaxKernel &&) = delete; + /** Prevent instances of this class from being moved (As this class contains non movable objects) */ + NEMinMaxKernel &operator=(NEMinMaxKernel &&) = delete; /** Default destructor */ ~NEMinMaxKernel() = default; |