diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-01 13:03:59 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-07 15:35:57 +0000 |
commit | 299fdd31bd8e1add3ac557a5e630de55b1b6659c (patch) | |
tree | a2ecde5f639d10789fed84ee9cc300abf4b6e03a /arm_compute/runtime/NEON/functions/NEGaussianPyramid.h | |
parent | dc5d34319a673f6cbcd346a0c7046fb7fd0106ec (diff) | |
download | ComputeLibrary-299fdd31bd8e1add3ac557a5e630de55b1b6659c.tar.gz |
COMPMID-2177 Fix clang warnings
Change-Id: I4beacfd714ee3ed771fd174cce5d8009a2961380
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1065
Reviewed-by: Giuseppe Rossini <giuseppe.rossini@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.h | 14 |
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 dbe0ecdf66..47fcd5e60f 100644 --- a/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h +++ b/arm_compute/runtime/NEON/functions/NEGaussianPyramid.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -91,10 +91,10 @@ public: void run() override; private: - std::unique_ptr<NEFillBorderKernel[]> _horizontal_border_handler; - std::unique_ptr<NEFillBorderKernel[]> _vertical_border_handler; - std::unique_ptr<NEGaussianPyramidHorKernel[]> _horizontal_reduction; - std::unique_ptr<NEGaussianPyramidVertKernel[]> _vertical_reduction; + 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; }; /** 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::unique_ptr<NEGaussian5x5[]> _gaus5x5; - std::unique_ptr<NEScale[]> _scale_nearest; + std::vector<std::unique_ptr<NEGaussian5x5>> _gaus5x5; + std::vector<std::unique_ptr<NEScale>> _scale_nearest; }; } #endif /*__ARM_COMPUTE_NEGAUSSIANPYRAMID_H__ */ |