COMPMID-2177 Fix clang warnings

Change-Id: I78039db8c58d7b14a042c41e54c25fb9cb509bf7
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1092
Reviewed-by: VidhyaSudhan Loganathan <vidhyasudhan.loganathan@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/arm_compute/runtime/CL/functions/CLHOGMultiDetection.h b/arm_compute/runtime/CL/functions/CLHOGMultiDetection.h
index 1ff9865..9241723 100644
--- a/arm_compute/runtime/CL/functions/CLHOGMultiDetection.h
+++ b/arm_compute/runtime/CL/functions/CLHOGMultiDetection.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
  *
  * SPDX-License-Identifier: MIT
  *
@@ -89,21 +89,21 @@
     void run() override;
 
 private:
-    CLMemoryGroup                                                 _memory_group;
-    CLHOGGradient                                                 _gradient_kernel;
-    std::unique_ptr<CLHOGOrientationBinningKernel[]>              _orient_bin_kernel;
-    std::unique_ptr<CLHOGBlockNormalizationKernel[]>              _block_norm_kernel;
-    std::unique_ptr<CLHOGDetector[]>                              _hog_detect_kernel;
-    std::unique_ptr<CPPDetectionWindowNonMaximaSuppressionKernel> _non_maxima_kernel;
-    std::unique_ptr<CLTensor[]>                                   _hog_space;
-    std::unique_ptr<CLTensor[]>                                   _hog_norm_space;
-    ICLDetectionWindowArray                                      *_detection_windows;
-    CLTensor                                                      _mag;
-    CLTensor                                                      _phase;
-    bool                                                          _non_maxima_suppression;
-    size_t                                                        _num_orient_bin_kernel;
-    size_t                                                        _num_block_norm_kernel;
-    size_t                                                        _num_hog_detect_kernel;
+    CLMemoryGroup                                _memory_group;
+    CLHOGGradient                                _gradient_kernel;
+    std::vector<CLHOGOrientationBinningKernel>   _orient_bin_kernel;
+    std::vector<CLHOGBlockNormalizationKernel>   _block_norm_kernel;
+    std::vector<CLHOGDetector>                   _hog_detect_kernel;
+    CPPDetectionWindowNonMaximaSuppressionKernel _non_maxima_kernel;
+    std::vector<CLTensor>                        _hog_space;
+    std::vector<CLTensor>                        _hog_norm_space;
+    ICLDetectionWindowArray                     *_detection_windows;
+    CLTensor                                     _mag;
+    CLTensor                                     _phase;
+    bool                                         _non_maxima_suppression;
+    size_t                                       _num_orient_bin_kernel;
+    size_t                                       _num_block_norm_kernel;
+    size_t                                       _num_hog_detect_kernel;
 };
 }