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/src/runtime/SchedulerFactory.cpp b/src/runtime/SchedulerFactory.cpp
index e395c2e..cc21d62 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 @@
{
case Type::ST:
{
- return support::cpp14::make_unique<SingleThreadScheduler>();
+ return std::make_unique<SingleThreadScheduler>();
}
case Type::CPP:
{
#if ARM_COMPUTE_CPP_SCHEDULER
- return support::cpp14::make_unique<CPPScheduler>();
+ return std::make_unique<CPPScheduler>();
#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 @@
case Type::OMP:
{
#if ARM_COMPUTE_OPENMP_SCHEDULER
- return support::cpp14::make_unique<OMPScheduler>();
+ return std::make_unique<OMPScheduler>();
#else /* ARM_COMPUTE_OPENMP_SCHEDULER */
ARM_COMPUTE_ERROR("Recompile with openmp=1 to use openmp scheduler.");
#endif /* ARM_COMPUTE_OPENMP_SCHEDULER */