diff options
author | Anthony Barbier <anthony.barbier@arm.com> | 2018-05-10 16:39:25 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:51:50 +0000 |
commit | aa3240d3e2a575c436ec60ea0a31e8375d997425 (patch) | |
tree | 3b0b5183cb43e2764d0eb2c408bc1c7651e4ff2f /src | |
parent | fa955be052173368ddfd143baff7275300e8b75e (diff) | |
download | ComputeLibrary-aa3240d3e2a575c436ec60ea0a31e8375d997425.tar.gz |
COMPMID-959: Fixed Clang-tidy error
Change-Id: Ice1f3b44ae1f503c47b8caf2c3c74f2e976826c7
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130757
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/graph/Tensor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph/Tensor.cpp b/src/graph/Tensor.cpp index 47fb5c65bc..287e783c26 100644 --- a/src/graph/Tensor.cpp +++ b/src/graph/Tensor.cpp @@ -28,7 +28,7 @@ namespace arm_compute namespace graph { Tensor::Tensor(TensorID id, TensorDescriptor desc) - : _id(id), _desc(desc), _handle(nullptr), _accessor(nullptr), _bound_edges() + : _id(id), _desc(std::move(desc)), _handle(nullptr), _accessor(nullptr), _bound_edges() { } @@ -108,4 +108,4 @@ const std::set<EdgeID> Tensor::bound_edges() const return _bound_edges; } } // namespace graph -} // namespace arm_compute
\ No newline at end of file +} // namespace arm_compute |