From 40f51a63c8e7258db15269427ae4fe1ad199c550 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Sat, 21 Nov 2020 03:04:18 +0000 Subject: Update default C++ standard to C++14 (3RDPARTY_UPDATE) Resolves: COMPMID-3849 Signed-off-by: Georgios Pinitas Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- tests/SimpleTensor.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/SimpleTensor.h') diff --git a/tests/SimpleTensor.h b/tests/SimpleTensor.h index 82a53521ac..c1bd7f87b5 100644 --- a/tests/SimpleTensor.h +++ b/tests/SimpleTensor.h @@ -27,7 +27,6 @@ #include "arm_compute/core/TensorShape.h" #include "arm_compute/core/Types.h" #include "arm_compute/core/Utils.h" -#include "support/MemorySupport.h" #include "tests/IAccessor.h" #include "tests/Utils.h" @@ -268,7 +267,7 @@ SimpleTensor::SimpleTensor(TensorShape shape, Format format) _data_layout(DataLayout::NCHW) { _num_channels = num_channels(); - _buffer = support::cpp14::make_unique(num_elements() * _num_channels); + _buffer = std::make_unique(num_elements() * _num_channels); } template @@ -280,7 +279,7 @@ SimpleTensor::SimpleTensor(TensorShape shape, DataType data_type, int num_cha _quantization_info(quantization_info), _data_layout(data_layout) { - _buffer = support::cpp14::make_unique(this->_shape.total_size() * _num_channels); + _buffer = std::make_unique(this->_shape.total_size() * _num_channels); } template @@ -293,7 +292,7 @@ SimpleTensor::SimpleTensor(const SimpleTensor &tensor) _quantization_info(tensor.quantization_info()), _data_layout(tensor.data_layout()) { - _buffer = support::cpp14::make_unique(tensor.num_elements() * _num_channels); + _buffer = std::make_unique(tensor.num_elements() * _num_channels); std::copy_n(tensor.data(), this->_shape.total_size() * _num_channels, _buffer.get()); } -- cgit v1.2.1