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/CL/functions/CLActivationLayer.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/runtime/CL/functions/CLActivationLayer.cpp') diff --git a/src/runtime/CL/functions/CLActivationLayer.cpp b/src/runtime/CL/functions/CLActivationLayer.cpp index 61c82b33eb..0070e43f8c 100644 --- a/src/runtime/CL/functions/CLActivationLayer.cpp +++ b/src/runtime/CL/functions/CLActivationLayer.cpp @@ -27,7 +27,6 @@ #include "arm_compute/core/Types.h" #include "arm_compute/runtime/CL/CLRuntimeContext.h" #include "src/core/CL/kernels/CLActivationLayerKernel.h" -#include "support/MemorySupport.h" namespace arm_compute { @@ -35,7 +34,7 @@ namespace experimental { void CLActivation::configure(const CLCompileContext &compile_context, ITensorInfo *input, ITensorInfo *output, ActivationLayerInfo act_info) { - auto k = arm_compute::support::cpp14::make_unique(); + auto k = std::make_unique(); k->configure(compile_context, input, output, act_info); _kernel = std::move(k); } @@ -55,7 +54,7 @@ struct CLActivationLayer::Impl }; CLActivationLayer::CLActivationLayer(CLRuntimeContext *ctx) - : _impl(support::cpp14::make_unique()) + : _impl(std::make_unique()) { _impl->ctx = ctx; } @@ -78,7 +77,7 @@ void CLActivationLayer::configure(const CLCompileContext &compile_context, ICLTe _impl->src = input; _impl->dst = output == nullptr ? input : output; - _impl->op = arm_compute::support::cpp14::make_unique(); + _impl->op = std::make_unique(); _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info(), act_info); } -- cgit v1.2.1