IVGCVSW-5267 Remove use of boost::array from unit tests.
* Boost::array is used in a small number of nn driver unittests. It
can be directly replaced by std::array in C++ 11.
Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I4c6f4489b7cab8e60c6b76172c3027f953d63e3c
diff --git a/test/1.1/Mean.cpp b/test/1.1/Mean.cpp
index b307490..8c52d23 100644
--- a/test/1.1/Mean.cpp
+++ b/test/1.1/Mean.cpp
@@ -8,9 +8,10 @@
#include "../1.1/HalPolicy.hpp"
-#include <boost/array.hpp>
#include <boost/test/data/test_case.hpp>
+#include <array>
+
BOOST_AUTO_TEST_SUITE(MeanTests)
using namespace android::hardware;
@@ -23,9 +24,9 @@
{
#ifndef ARMCOMPUTECL_ENABLED
- static const boost::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
+ static const std::array<armnn::Compute, 1> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }};
#else
- static const boost::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
+ static const std::array<armnn::Compute, 2> COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }};
#endif
void MeanTestImpl(const TestTensor& input,