From ca4111d6eef00d244145e9b32e87fc101034527d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 21 Feb 2020 13:21:37 +0000 Subject: COMPMID-2819: Delete move semantics from classes that use std::mutex Signed-off-by: Georgios Pinitas Change-Id: I6ea0ab7af7d2b9cb2dcb23627eb909cf7e88a5b0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2775 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio --- arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arm_compute/core/NEON/kernels/NEMinMaxLocationKernel.h') 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; -- cgit v1.2.1