COMPMID-3639: Fix nightly regarding move constructor
Change-Id: I853248450f4a1d12cfa5ca291a7a2d2729c5204c
Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4352
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/arm_compute/runtime/CL/functions/CLFFT2D.h b/arm_compute/runtime/CL/functions/CLFFT2D.h
index 126944b..c54127f 100644
--- a/arm_compute/runtime/CL/functions/CLFFT2D.h
+++ b/arm_compute/runtime/CL/functions/CLFFT2D.h
@@ -50,6 +50,10 @@
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 340ac6e..4dbd0f8 100644
--- a/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
+++ b/arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h
@@ -58,10 +58,10 @@
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.