aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSang-Hoon Park <sang-hoon.park@arm.com>2020-11-09 10:14:03 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2020-11-09 12:38:13 +0000
commit532ac33cdfbe19b08d2c5028bb8627ae2732b049 (patch)
tree61d87a0d75383f95070692341a5d39a25f2eeb43
parent4d2365de0a63f5e8cabe161da2efe99221dcfa43 (diff)
downloadComputeLibrary-532ac33cdfbe19b08d2c5028bb8627ae2732b049.tar.gz
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>
-rw-r--r--arm_compute/runtime/CL/functions/CLFFT2D.h4
-rw-r--r--arm_compute/runtime/CL/functions/CLGEMMConvolutionLayer.h8
2 files changed, 8 insertions, 4 deletions
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.