From d7fdbe2306b9ebaba0aa625d8be14114f8631054 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Fri, 30 Oct 2020 16:57:43 +0000 Subject: 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 Change-Id: I4c6f4489b7cab8e60c6b76172c3027f953d63e3c --- test/Concat.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/Concat.cpp') diff --git a/test/Concat.cpp b/test/Concat.cpp index b4b650fa..0bc54247 100644 --- a/test/Concat.cpp +++ b/test/Concat.cpp @@ -7,12 +7,13 @@ #include "../1.0/HalPolicy.hpp" -#include #include #include +#include #include + BOOST_AUTO_TEST_SUITE(ConcatTests) using namespace android::hardware; @@ -25,9 +26,9 @@ namespace { #ifndef ARMCOMPUTECL_ENABLED - static const boost::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; + static const std::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef }}; #else - static const boost::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; + static const std::array COMPUTE_DEVICES = {{ armnn::Compute::CpuRef, armnn::Compute::GpuAcc }}; #endif void -- cgit v1.2.1