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 --- src/runtime/SchedulerFactory.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/runtime/SchedulerFactory.cpp') diff --git a/src/runtime/SchedulerFactory.cpp b/src/runtime/SchedulerFactory.cpp index e395c2e029..cc21d62630 100644 --- a/src/runtime/SchedulerFactory.cpp +++ b/src/runtime/SchedulerFactory.cpp @@ -23,8 +23,6 @@ */ #include "arm_compute/runtime/SchedulerFactory.h" -#include "support/MemorySupport.h" - #include "arm_compute/core/Error.h" #if ARM_COMPUTE_CPP_SCHEDULER #include "arm_compute/runtime/CPP/CPPScheduler.h" @@ -54,12 +52,12 @@ std::unique_ptr SchedulerFactory::create(Type type) { case Type::ST: { - return support::cpp14::make_unique(); + return std::make_unique(); } case Type::CPP: { #if ARM_COMPUTE_CPP_SCHEDULER - return support::cpp14::make_unique(); + return std::make_unique(); #else /* ARM_COMPUTE_CPP_SCHEDULER */ ARM_COMPUTE_ERROR("Recompile with cppthreads=1 to use C++11 scheduler."); #endif /* ARM_COMPUTE_CPP_SCHEDULER */ @@ -67,7 +65,7 @@ std::unique_ptr SchedulerFactory::create(Type type) case Type::OMP: { #if ARM_COMPUTE_OPENMP_SCHEDULER - return support::cpp14::make_unique(); + return std::make_unique(); #else /* ARM_COMPUTE_OPENMP_SCHEDULER */ ARM_COMPUTE_ERROR("Recompile with openmp=1 to use openmp scheduler."); #endif /* ARM_COMPUTE_OPENMP_SCHEDULER */ -- cgit v1.2.1