aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-07-01 14:20:56 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-07-05 10:49:38 +0000
commit53860dd80fd6e91ce04756032a969d4b37e00a61 (patch)
tree62db9128382bdbc8c169a3664b43c7aa18fa2e9e /arm_compute/runtime
parent7bb56c6337997281df10fa28ad7924c921b920eb (diff)
downloadComputeLibrary-53860dd80fd6e91ce04756032a969d4b37e00a61.tar.gz
COMPMID-2432 Fix defects reported by Coverity
Change-Id: I887eea57cc0202ad42b76b0ea093724943116a7e Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/1446 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r--arm_compute/runtime/TensorAllocator.h2
1 files changed, 1 insertions, 1 deletions
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.
*