COMPMID-3639: Fix nightly regarding move constructor
authorSang-Hoon Park <sang-hoon.park@arm.com>
Mon, 9 Nov 2020 10:14:03 +0000 (10:14 +0000)
committerGeorgios Pinitas <georgios.pinitas@arm.com>
Mon, 9 Nov 2020 12:38:13 +0000 (12:38 +0000)
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>
arm_compute/runtime/CL/functions/CLFFT2D.h
arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h

index 126944b323d26cda127e6a80c8789b2fc775f51e..c54127f2095ce319875c563b56545ff7290cecb9 100644 (file)
@@ -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.
index 340ac6e7496f2ca6d89ef1283738f6f1e2c92b66..4dbd0f828a8619f5f9488df57c9b1ea52ecd7652 100644 (file)
@@ -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.