aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-08 13:21:00 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-04 08:20:04 -0600
commitecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8 (patch)
treec64a41d1eccaaa66e201b03a0c37a01f5f393b5f /host/tests
parenta6a6f25404eac9cf9e01585d81fb67e9693d8769 (diff)
downloaduhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.tar.gz
uhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.tar.bz2
uhd-ecefbdd9ab245c1ef3ea8a8521ea79952f06dbe8.zip
lib: Fix warnings related to unnecessary lambda captures
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/rfnoc_graph_mock_nodes.hpp5
1 files changed, 1 insertions, 4 deletions
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) {