aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-05-20 19:40:47 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-05-22 14:10:00 +0000
commit725b173d620726015cfebfd28356c1c1fa6e80b9 (patch)
tree51bdea1fa961d76770ed2dc9dbcd90745e3485c8 /arm_compute/runtime/NEON/functions/NEGaussianPyramid.h
parentb8d5b958d489c21214cc23755d442e4e78f03878 (diff)
downloadComputeLibrary-725b173d620726015cfebfd28356c1c1fa6e80b9.tar.gz
COMPMID-2214: Remove std::vector<std::unique_ptr<>> where possible.
Change-Id: I6569aa64a4976966445ed7646129c36fe4654cd9 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/1190 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEGaussianPyramid.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEGaussianPyramid.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h b/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h
index 47fcd5e60f..f675d7299d 100644
--- a/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h
+++ b/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h
@@ -91,10 +91,10 @@ public:
void run() override;
private:
- std::vector<std::unique_ptr<NEFillBorderKernel>> _horizontal_border_handler;
- std::vector<std::unique_ptr<NEFillBorderKernel>> _vertical_border_handler;
- std::vector<std::unique_ptr<NEGaussianPyramidHorKernel>> _horizontal_reduction;
- std::vector<std::unique_ptr<NEGaussianPyramidVertKernel>> _vertical_reduction;
+ std::vector<NEFillBorderKernel> _horizontal_border_handler;
+ std::vector<NEFillBorderKernel> _vertical_border_handler;
+ std::vector<NEGaussianPyramidHorKernel> _horizontal_reduction;
+ std::vector<NEGaussianPyramidVertKernel> _vertical_reduction;
};
/** Basic function to execute gaussian pyramid with ORB scale factor. This function calls the following NEON kernels and functions:
@@ -115,8 +115,8 @@ public:
void run() override;
private:
- std::vector<std::unique_ptr<NEGaussian5x5>> _gaus5x5;
- std::vector<std::unique_ptr<NEScale>> _scale_nearest;
+ std::vector<NEGaussian5x5> _gaus5x5;
+ std::vector<NEScale> _scale_nearest;
};
-}
+} // namespace arm_compute
#endif /*__ARM_COMPUTE_NEGAUSSIANPYRAMID_H__ */