From ba62e9ac2428b8cd84c566d5b37ce8fde14868a2 Mon Sep 17 00:00:00 2001 From: David Svantesson Date: Thu, 8 Jun 2023 12:14:01 +0000 Subject: Reorder destructor in src Signed-off-by: David Svantesson Change-Id: Iaed0933d665bd98829be49b9df11653d4d74081c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9746 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Viet-Hoa Do Comments-Addressed: Arm Jenkins --- arm_compute/runtime/NEON/functions/NEReorderLayer.h | 2 +- src/runtime/NEON/functions/NEReorderLayer.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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()) -- cgit v1.2.1