From: Sang-Hoon Park Date: Mon, 9 Nov 2020 10:14:03 +0000 (+0000) Subject: COMPMID-3639: Fix nightly regarding move constructor X-Git-Tag: submit/tizen/20210421.062230~244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=532ac33cdfbe19b08d2c5028bb8627ae2732b049;p=platform%2Fupstream%2Farmcl.git 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 --- diff --git a/arm_compute/runtime/CL/functions/CLFFT2D.h b/arm_compute/runtime/CL/functions/CLFFT2D.h index 126944b32..c54127f20 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 340ac6e74..4dbd0f828 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.