diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 13:21:00 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:20:04 -0600 |
commit | ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8 (patch) | |
tree | c64a41d1eccaaa66e201b03a0c37a01f5f393b5f /host/lib/rfnoc/graph.cpp | |
parent | a6a6f25404eac9cf9e01585d81fb67e9693d8769 (diff) | |
download | uhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.tar.gz uhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.tar.bz2 uhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.zip |
lib: Fix warnings related to unnecessary lambda captures
Diffstat (limited to 'host/lib/rfnoc/graph.cpp')
-rw-r--r-- | host/lib/rfnoc/graph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; }); |