diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-20 17:09:28 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-02-26 13:35:36 +0000 |
commit | 0b192e84510c006d87cee3c29f95511ad088b704 (patch) | |
tree | 80abef10e2afde5dcab6715b207ebca4d7dc0755 /src/graph/backends/CL/CLFunctionsFactory.cpp | |
parent | 582163206bbfb03b3af0009d6ec2d9bab747780d (diff) | |
download | ComputeLibrary-0b192e84510c006d87cee3c29f95511ad088b704.tar.gz |
COMPMID-3067: Address gcc9 failures
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I048d1d7dda7edf587d37ce83a93b557d8a95754a
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2771
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/backends/CL/CLFunctionsFactory.cpp')
-rw-r--r-- | src/graph/backends/CL/CLFunctionsFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<IFunction> create_detection_output_layer<CPPDetectionOutputLayer wrap_function->register_tensor(input2); wrap_function->register_tensor(output); - return std::move(wrap_function); + return RETURN_UNIQUE_PTR(wrap_function); } template <> std::unique_ptr<IFunction> create_detection_post_process_layer<CPPDetectionPostProcessLayer, CLTargetInfo>(DetectionPostProcessLayerNode &node) @@ -214,7 +214,7 @@ std::unique_ptr<IFunction> create_detection_post_process_layer<CPPDetectionPostP wrap_function->register_tensor(output2); wrap_function->register_tensor(output3); - return std::move(wrap_function); + return RETURN_UNIQUE_PTR(wrap_function); } } // namespace detail |