diff options
author | Johannes Demel <demel@ant.uni-bremen.de> | 2020-05-09 15:14:37 +0200 |
---|---|---|
committer | Josh Morman <mormjb@gmail.com> | 2020-06-04 10:05:48 -0400 |
commit | 320aa710c42c884ec7395b5c8332f601ee1895fc (patch) | |
tree | a6e3568d1418d638fea596c2ad3296fa264c6335 /gr-fec/lib/puncture_ff_impl.cc | |
parent | d584e7e9be13b500a8bc9a85f37d1cd51b0e0be5 (diff) |
msg_handler: Use lambdas in most components
With this commit, all components except gr-qtgui use lambdas instead of
`boost::bind` to register msg handlers.
Diffstat (limited to 'gr-fec/lib/puncture_ff_impl.cc')
-rw-r--r-- | gr-fec/lib/puncture_ff_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-fec/lib/puncture_ff_impl.cc b/gr-fec/lib/puncture_ff_impl.cc index a8f6c69b21..4b8c74f014 100644 --- a/gr-fec/lib/puncture_ff_impl.cc +++ b/gr-fec/lib/puncture_ff_impl.cc @@ -60,7 +60,7 @@ puncture_ff_impl::puncture_ff_impl(int puncsize, int puncpat, int delay) set_fixed_rate(true); set_relative_rate((uint64_t)(d_puncsize - d_puncholes), (uint64_t)d_puncsize); set_output_multiple(d_puncsize - d_puncholes); - // set_msg_handler(boost::bind(&puncture_ff_impl::catch_msg, this, _1)); + // set_msg_handler(<portname>, [this](pmt::pmt_t msg) { this->catch_msg(msg); }); } puncture_ff_impl::~puncture_ff_impl() {} |