From 0b192e84510c006d87cee3c29f95511ad088b704 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 20 Feb 2020 17:09:28 +0000 Subject: COMPMID-3067: Address gcc9 failures Signed-off-by: Georgios Pinitas Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/graph/backends/CL/CLFunctionsFactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph/backends/CL/CLFunctionsFactory.cpp') diff --git a/src/graph/backends/CL/CLFunctionsFactory.cpp b/src/graph/backends/CL/CLFunctionsFactory.cpp index e6684f676d..312e09a49a 100644 --- a/src/graph/backends/CL/CLFunctionsFactory.cpp +++ b/src/graph/backends/CL/CLFunctionsFactory.cpp @@ -158,7 +158,7 @@ std::unique_ptr create_detection_output_layerregister_tensor(input2); wrap_function->register_tensor(output); - return std::move(wrap_function); + return RETURN_UNIQUE_PTR(wrap_function); } template <> std::unique_ptr create_detection_post_process_layer(DetectionPostProcessLayerNode &node) @@ -214,7 +214,7 @@ std::unique_ptr create_detection_post_process_layerregister_tensor(output2); wrap_function->register_tensor(output3); - return std::move(wrap_function); + return RETURN_UNIQUE_PTR(wrap_function); } } // namespace detail -- cgit v1.2.1