diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-07-01 14:20:56 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-07-05 10:49:38 +0000 |
commit | 53860dd80fd6e91ce04756032a969d4b37e00a61 (patch) | |
tree | 62db9128382bdbc8c169a3664b43c7aa18fa2e9e /src/runtime/TensorAllocator.cpp | |
parent | 7bb56c6337997281df10fa28ad7924c921b920eb (diff) | |
download | ComputeLibrary-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 'src/runtime/TensorAllocator.cpp')
-rw-r--r-- | src/runtime/TensorAllocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/TensorAllocator.cpp b/src/runtime/TensorAllocator.cpp index 0612d751f0..d9616ca09d 100644 --- a/src/runtime/TensorAllocator.cpp +++ b/src/runtime/TensorAllocator.cpp @@ -105,7 +105,7 @@ TensorAllocator &TensorAllocator::operator=(TensorAllocator &&o) noexcept return *this; } -void TensorAllocator::init(const TensorAllocator &allocator, const Coordinates &coords, TensorInfo sub_info) +void TensorAllocator::init(const TensorAllocator &allocator, const Coordinates &coords, TensorInfo &sub_info) { // Get parent info const TensorInfo parent_info = allocator.info(); |