aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NECropResize.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-05-01 13:03:59 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-05-07 15:35:57 +0000
commit299fdd31bd8e1add3ac557a5e630de55b1b6659c (patch)
treea2ecde5f639d10789fed84ee9cc300abf4b6e03a /arm_compute/runtime/NEON/functions/NECropResize.h
parentdc5d34319a673f6cbcd346a0c7046fb7fd0106ec (diff)
downloadComputeLibrary-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/NECropResize.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NECropResize.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/runtime/NEON/functions/NECropResize.h b/arm_compute/runtime/NEON/functions/NECropResize.h
index e790e68b5f..53e8f7f7a5 100644
--- a/arm_compute/runtime/NEON/functions/NECropResize.h
+++ b/arm_compute/runtime/NEON/functions/NECropResize.h
@@ -98,10 +98,10 @@ public:
InterpolationPolicy _method;
float _extrapolation_value;
- std::unique_ptr<NECropKernel[]> _crop;
- std::unique_ptr<NEScale[]> _scale;
- std::unique_ptr<Tensor[]> _crop_results{ nullptr };
- std::unique_ptr<Tensor[]> _scaled_results{ nullptr };
+ std::vector<std::unique_ptr<NECropKernel>> _crop;
+ std::vector<std::unique_ptr<NEScale>> _scale;
+ std::vector<std::unique_ptr<Tensor>> _crop_results;
+ std::vector<std::unique_ptr<Tensor>> _scaled_results;
};
} // namespace arm_compute
#endif /* __ARM_COMPUTE_NEON_CROP_RESIZE_H__ */