diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-01 13:03:59 +0100 |
---|---|---|
committer | Michalis Spyrou <michalis.spyrou@arm.com> | 2019-05-07 15:35:57 +0000 |
commit | 299fdd31bd8e1add3ac557a5e630de55b1b6659c (patch) | |
tree | a2ecde5f639d10789fed84ee9cc300abf4b6e03a /src/graph/detail | |
parent | dc5d34319a673f6cbcd346a0c7046fb7fd0106ec (diff) | |
download | ComputeLibrary-299fdd31bd8e1add3ac557a5e630de55b1b6659c.tar.gz |
COMPMID-2177 Fix clang warnings
Change-Id: I4beacfd714ee3ed771fd174cce5d8009a2961380
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1065
Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/graph/detail')
-rw-r--r-- | src/graph/detail/CrossLayerMemoryManagerHelpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graph/detail/CrossLayerMemoryManagerHelpers.cpp b/src/graph/detail/CrossLayerMemoryManagerHelpers.cpp index 7fc5ca0576..5e31309c3d 100644 --- a/src/graph/detail/CrossLayerMemoryManagerHelpers.cpp +++ b/src/graph/detail/CrossLayerMemoryManagerHelpers.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -136,7 +136,7 @@ TaskHandles get_transition_handles(GraphContext &ctx, // Then add it to the list of transition buffers ITensorHandle *tensor_handle = input_edge->tensor()->handle()->parent_handle(); IMemoryGroup *mm_group = get_memory_group_from_handle(ctx, tensor_handle); - transition_handles.input_handles.push_back(std::make_pair(tensor_handle, mm_group)); + transition_handles.input_handles.emplace_back(std::make_pair(tensor_handle, mm_group)); } } @@ -149,7 +149,7 @@ TaskHandles get_transition_handles(GraphContext &ctx, { ITensorHandle *tensor_handle = output_tensor->handle()->parent_handle(); IMemoryGroup *mm_group = get_memory_group_from_handle(ctx, tensor_handle); - transition_handles.output_handles.push_back(std::make_pair(tensor_handle, mm_group)); + transition_handles.output_handles.emplace_back(std::make_pair(tensor_handle, mm_group)); } } |