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/window_block_control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/rfnoc/window_block_control.cpp') 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(value); }); + [](int16_t value) -> uint32_t { return static_cast(value); }); _window_reg_iface.multi_poke32(coeffs_addr, coeffs_minus_last, chan); // ...and the final coefficient (num_coeffs-1) -- cgit v1.2.3