From 299fdd31bd8e1add3ac557a5e630de55b1b6659c Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 1 May 2019 13:03:59 +0100 Subject: COMPMID-2177 Fix clang warnings Change-Id: I4beacfd714ee3ed771fd174cce5d8009a2961380 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/1065 Reviewed-by: Giuseppe Rossini Tested-by: Arm Jenkins --- src/graph/Graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/graph/Graph.cpp') diff --git a/src/graph/Graph.cpp b/src/graph/Graph.cpp index 88e2682c86..9d437b1834 100644 --- a/src/graph/Graph.cpp +++ b/src/graph/Graph.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -152,7 +152,7 @@ bool Graph::remove_connection(EdgeID eid) return true; } -TensorID Graph::create_tensor(TensorDescriptor desc) +TensorID Graph::create_tensor(const TensorDescriptor &desc) { TensorID tid = _tensors.size(); auto tensor = support::cpp14::make_unique(tid, desc); -- cgit v1.2.1