From 53860dd80fd6e91ce04756032a969d4b37e00a61 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Mon, 1 Jul 2019 14:20:56 +0100 Subject: COMPMID-2432 Fix defects reported by Coverity Change-Id: I887eea57cc0202ad42b76b0ea093724943116a7e Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/1446 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/runtime/TensorAllocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arm_compute/runtime') diff --git a/arm_compute/runtime/TensorAllocator.h b/arm_compute/runtime/TensorAllocator.h index bf574fa0c9..c2a370fb58 100644 --- a/arm_compute/runtime/TensorAllocator.h +++ b/arm_compute/runtime/TensorAllocator.h @@ -72,7 +72,7 @@ public: * @param[in] coords The starting coordinates of the new tensor inside the parent tensor. * @param[in] sub_info The new tensor information (e.g. shape etc) */ - void init(const TensorAllocator &allocator, const Coordinates &coords, TensorInfo sub_info); + void init(const TensorAllocator &allocator, const Coordinates &coords, TensorInfo &sub_info); /** Returns the pointer to the allocated data. * -- cgit v1.2.1