Update default C++ standard to C++14
(3RDPARTY_UPDATE)
Resolves: COMPMID-3849
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I6369f112337310140e2d6c8e79630cd11138dfa0
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4544
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
diff --git a/tests/CL/Helper.h b/tests/CL/Helper.h
index e548af4..d217af6 100644
--- a/tests/CL/Helper.h
+++ b/tests/CL/Helper.h
@@ -33,7 +33,7 @@
#include "src/core/CL/ICLKernel.h"
-#include "support/MemorySupport.h"
+#include <memory>
namespace arm_compute
{
@@ -51,7 +51,7 @@
template <typename... Args>
void configure(Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->configure(std::forward<Args>(args)...);
_kernel = std::move(k);
}
@@ -63,7 +63,7 @@
template <typename... Args>
void configure(GPUTarget gpu_target, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->set_target(gpu_target);
k->configure(std::forward<Args>(args)...);
_kernel = std::move(k);
@@ -92,7 +92,7 @@
template <typename T, typename... Args>
void configure(T first, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->configure(first, std::forward<Args>(args)...);
_kernel = std::move(k);
_border_handler->configure(first, BorderSize(bordersize), BorderMode::CONSTANT, PixelValue());
@@ -113,7 +113,7 @@
template <typename T, typename... Args>
void configure(T first, T second, Args &&... args)
{
- auto k = arm_compute::support::cpp14::make_unique<K>();
+ auto k = std::make_unique<K>();
k->set_target(CLScheduler::get().target());
k->configure(first, second, std::forward<Args>(args)...);
_kernel = std::move(k);