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/tests/rfnoc_graph_mock_nodes.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'host/tests') diff --git a/host/tests/rfnoc_graph_mock_nodes.hpp b/host/tests/rfnoc_graph_mock_nodes.hpp index 12bc5c38a..688886538 100644 --- a/host/tests/rfnoc_graph_mock_nodes.hpp +++ b/host/tests/rfnoc_graph_mock_nodes.hpp @@ -57,10 +57,7 @@ public: }); add_property_resolver({&_master_clock_rate}, {&_master_clock_rate, &_samp_rate_in, &_samp_rate_out}, - [& samp_rate_out = _samp_rate_out, - &samp_rate_in = _samp_rate_in, - &master_clock_rate = _master_clock_rate, - this]() { + [this]() { UHD_LOG_INFO( get_unique_id(), " Calling resolver for `master_clock_rate'..."); if (_master_clock_rate.get() > 150e6) { -- cgit v1.2.3