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/window_block_control.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/window_block_control.cpp')
-rw-r--r-- | host/lib/rfnoc/window_block_control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/window_block_control.cpp b/host/lib/rfnoc/window_block_control.cpp index 5d3201838..9acb963d0 100644 --- a/host/lib/rfnoc/window_block_control.cpp +++ b/host/lib/rfnoc/window_block_control.cpp @@ -111,7 +111,7 @@ private: std::transform(_coeffs.at(chan).begin(), _coeffs.at(chan).end() - 1, coeffs_minus_last.begin(), - [this](int16_t value) -> uint32_t { return static_cast<uint32_t>(value); }); + [](int16_t value) -> uint32_t { return static_cast<uint32_t>(value); }); _window_reg_iface.multi_poke32(coeffs_addr, coeffs_minus_last, chan); // ...and the final coefficient (num_coeffs-1) |