From e63b41b56235cdcc19c4d76156bfd1b16b98012e Mon Sep 17 00:00:00 2001 From: Pablo Marquez Tello Date: Tue, 10 Aug 2021 10:22:51 +0100 Subject: Fix compiler error in CLActivationLayer * GCC 7.4 + Ubuntu 16 * Resolves COMPMID-4761. Change-Id: Id259f00c860b23c4a20881dd0c6ab6468cf17385 Signed-off-by: Pablo Marquez Tello Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6070 Tested-by: Arm Jenkins Reviewed-by: Nikhil Raj Arm --- src/runtime/gpu/cl/operators/ClActivation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/gpu/cl/operators/ClActivation.cpp b/src/runtime/gpu/cl/operators/ClActivation.cpp index bef42d7fae..34a2f94fdc 100644 --- a/src/runtime/gpu/cl/operators/ClActivation.cpp +++ b/src/runtime/gpu/cl/operators/ClActivation.cpp @@ -69,7 +69,7 @@ std::tuple ClContext::create_activation(const AclTensor if(op == nullptr) { ARM_COMPUTE_LOG_ERROR_ACL("Couldn't allocate internal resources"); - return { nullptr, StatusCode::OutOfMemory }; + return std::make_tuple(nullptr, StatusCode::OutOfMemory); } op->set_internal_operator(std::move(act_op)); -- cgit v1.2.1