aboutsummaryrefslogtreecommitdiff
path: root/tests/SimpleTensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/SimpleTensor.h')
-rw-r--r--tests/SimpleTensor.h7
1 files changed, 3 insertions, 4 deletions
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<T>::SimpleTensor(TensorShape shape, Format format)
_data_layout(DataLayout::NCHW)
{
_num_channels = num_channels();
- _buffer = support::cpp14::make_unique<T[]>(num_elements() * _num_channels);
+ _buffer = std::make_unique<T[]>(num_elements() * _num_channels);
}
template <typename T>
@@ -280,7 +279,7 @@ SimpleTensor<T>::SimpleTensor(TensorShape shape, DataType data_type, int num_cha
_quantization_info(quantization_info),
_data_layout(data_layout)
{
- _buffer = support::cpp14::make_unique<T[]>(this->_shape.total_size() * _num_channels);
+ _buffer = std::make_unique<T[]>(this->_shape.total_size() * _num_channels);
}
template <typename T>
@@ -293,7 +292,7 @@ SimpleTensor<T>::SimpleTensor(const SimpleTensor &tensor)
_quantization_info(tensor.quantization_info()),
_data_layout(tensor.data_layout())
{
- _buffer = support::cpp14::make_unique<T[]>(tensor.num_elements() * _num_channels);
+ _buffer = std::make_unique<T[]>(tensor.num_elements() * _num_channels);
std::copy_n(tensor.data(), this->_shape.total_size() * _num_channels, _buffer.get());
}