From ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 13:21:00 +0100 Subject: lib: Fix warnings related to unnecessary lambda captures --- host/lib/rfnoc/graph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/rfnoc/graph.cpp') diff --git a/host/lib/rfnoc/graph.cpp b/host/lib/rfnoc/graph.cpp index 4041ece5a..92cf9e8bf 100644 --- a/host/lib/rfnoc/graph.cpp +++ b/host/lib/rfnoc/graph.cpp @@ -641,8 +641,8 @@ bool graph_t::_assert_edge_props_consistent(rfnoc_graph_t::edge_descriptor edge) node_ref_t node) { node_accessor_t node_accessor{}; // Create a set of all properties - auto props_set = node_accessor.filter_props( - node, [port, edge_type, node](property_base_t* prop) { + auto props_set = + node_accessor.filter_props(node, [port, edge_type](property_base_t* prop) { return prop->get_src_info().instance == port && prop->get_src_info().type == edge_type; }); -- cgit v1.2.3