From 532ac33cdfbe19b08d2c5028bb8627ae2732b049 Mon Sep 17 00:00:00 2001 From: Sang-Hoon Park Date: Mon, 9 Nov 2020 10:14:03 +0000 Subject: COMPMID-3639: Fix nightly regarding move constructor Change-Id: I853248450f4a1d12cfa5ca291a7a2d2729c5204c Signed-off-by: Sang-Hoon Park Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4352 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/runtime/CL/functions/CLFFT2D.h | 4 ++++ arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'arm_compute/runtime/CL') diff --git a/arm_compute/runtime/CL/functions/CLFFT2D.h b/arm_compute/runtime/CL/functions/CLFFT2D.h index 126944b323..c54127f209 100644 --- a/arm_compute/runtime/CL/functions/CLFFT2D.h +++ b/arm_compute/runtime/CL/functions/CLFFT2D.h @@ -50,6 +50,10 @@ public: CLFFT2D(const CLFFT2D &) = delete; /** Prevent instances of this class from being copied */ CLFFT2D &operator=(const CLFFT2D &) = delete; + /** Default move constructor */ + CLFFT2D(CLFFT2D &&) = default; + /** Default move assignment operator */ + CLFFT2D &operator=(CLFFT2D &&) = default; /** Default destructor */ ~CLFFT2D(); /** Initialise the function's source, destinations and border mode. diff --git a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h index 340ac6e749..4dbd0f828a 100644 --- a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h +++ b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h @@ -58,10 +58,10 @@ public: CLConvolutionLayerReshapeWeights(const CLConvolutionLayerReshapeWeights &) = delete; /** Prevent instances of this class from being copied */ CLConvolutionLayerReshapeWeights &operator=(const CLConvolutionLayerReshapeWeights &) = delete; - /** Prevent instances of this class to be moved */ - CLConvolutionLayerReshapeWeights(CLConvolutionLayerReshapeWeights &&) = delete; - /** Prevent instances of this class to be moved */ - CLConvolutionLayerReshapeWeights &operator=(CLConvolutionLayerReshapeWeights &&) = delete; + /** Default move constructor */ + CLConvolutionLayerReshapeWeights(CLConvolutionLayerReshapeWeights &&) = default; + /** Default move assignment operator */ + CLConvolutionLayerReshapeWeights &operator=(CLConvolutionLayerReshapeWeights &&) = default; /** Default destructor */ ~CLConvolutionLayerReshapeWeights(); /** Set the input and output tensors. -- cgit v1.2.1