From 763709dcd302f8ccacbdb84145eccb2ecf4e7a48 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 20 Oct 2020 20:46:13 +0100 Subject: COMPMID-3599: Use tuple instead of pairs in backend function creation Change-Id: I361f455c9c5e0b8a2316652b5b65d6691a9f153e Signed-off-by: Georgios Pinitas Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4220 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- arm_compute/graph/backends/Utils.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arm_compute/graph/backends/Utils.h b/arm_compute/graph/backends/Utils.h index 0322ec5fab..7d67f3b9e3 100644 --- a/arm_compute/graph/backends/Utils.h +++ b/arm_compute/graph/backends/Utils.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Arm Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -42,7 +42,7 @@ namespace backends * @return A configured backend function */ template -std::pair, FunctionNameType> create_named_function(FunctionNameType name, ParameterType... args) +std::tuple, FunctionNameType> create_named_function(FunctionNameType name, ParameterType... args) { auto f = arm_compute::support::cpp14::make_unique(); f->configure(std::forward(args)...); @@ -58,9 +58,9 @@ std::pair, FunctionNameType> create_name * @return A configured backend function */ template -std::pair, FunctionNameType> create_named_memory_managed_function(FunctionNameType name, - MemoryManagerType mm, - ParameterType... args) +std::tuple, FunctionNameType> create_named_memory_managed_function(FunctionNameType name, + MemoryManagerType mm, + ParameterType... args) { auto f = arm_compute::support::cpp14::make_unique(mm); f->configure(std::forward(args)...); -- cgit v1.2.1