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/chdr_ctrl_xport.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/chdr_ctrl_xport.cpp')
-rw-r--r-- | host/lib/rfnoc/chdr_ctrl_xport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/host/lib/rfnoc/chdr_ctrl_xport.cpp b/host/lib/rfnoc/chdr_ctrl_xport.cpp index f8b3cf03e..595e0b6dd 100644 --- a/host/lib/rfnoc/chdr_ctrl_xport.cpp +++ b/host/lib/rfnoc/chdr_ctrl_xport.cpp @@ -24,8 +24,7 @@ chdr_ctrl_xport::chdr_ctrl_xport(io_service::sptr io_srv, : _my_epid(my_epid), _recv_packet(pkt_factory.make_generic()), _disconnect(disconnect) { /* Make dumb send pipe */ - send_io_if::send_callback_t send_cb = [this]( - frame_buff::uptr buff, send_link_if* link) { + send_io_if::send_callback_t send_cb = [](frame_buff::uptr buff, send_link_if* link) { link->release_send_buff(std::move(buff)); }; _send_if = io_srv->make_send_client( |