aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Svantesson <david.svantesson@arm.com>2023-06-08 12:14:01 +0000
committerramy.elgammal@arm.com <ramy.elgammal@arm.com>2023-06-27 18:28:29 +0100
commitba62e9ac2428b8cd84c566d5b37ce8fde14868a2 (patch)
treebb1f4117150163e07a7de7ef8f4aaba12298e715
parent901a61a13123efe8631ea58b420c7938854fc57e (diff)
downloadComputeLibrary-ba62e9ac2428b8cd84c566d5b37ce8fde14868a2.tar.gz
Reorder destructor in src
Signed-off-by: David Svantesson <david.svantesson@arm.com> Change-Id: Iaed0933d665bd98829be49b9df11653d4d74081c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9746 Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--arm_compute/runtime/NEON/functions/NEReorderLayer.h2
-rw-r--r--src/runtime/NEON/functions/NEReorderLayer.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEReorderLayer.h b/arm_compute/runtime/NEON/functions/NEReorderLayer.h
index a9ce8e3e69..eb777f1925 100644
--- a/arm_compute/runtime/NEON/functions/NEReorderLayer.h
+++ b/arm_compute/runtime/NEON/functions/NEReorderLayer.h
@@ -49,7 +49,7 @@ public:
/** Prevent instances of this class from being moved (As this class contains non movable objects) */
NEReorderLayer &operator=(NEReorderLayer &&) = delete;
/** Default destructor */
- ~NEReorderLayer() = default;
+ ~NEReorderLayer();
/** Set the input and output tensors.
*
* Valid data layouts:
diff --git a/src/runtime/NEON/functions/NEReorderLayer.cpp b/src/runtime/NEON/functions/NEReorderLayer.cpp
index 2ab1029f02..427bf8c501 100644
--- a/src/runtime/NEON/functions/NEReorderLayer.cpp
+++ b/src/runtime/NEON/functions/NEReorderLayer.cpp
@@ -29,6 +29,7 @@
namespace arm_compute
{
+NEReorderLayer::~NEReorderLayer() = default;
NEReorderLayer::NEReorderLayer()
: _reorder_kernel(std::make_unique<NEReorderKernel>())