diff options
Diffstat (limited to 'gr-blocks/lib/random_pdu_impl.cc')
-rw-r--r-- | gr-blocks/lib/random_pdu_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/lib/random_pdu_impl.cc b/gr-blocks/lib/random_pdu_impl.cc index 9a00386f0f..2ee9b89759 100644 --- a/gr-blocks/lib/random_pdu_impl.cc +++ b/gr-blocks/lib/random_pdu_impl.cc @@ -39,7 +39,7 @@ random_pdu_impl::random_pdu_impl(int min_items, message_port_register_out(pdu::pdu_port_id()); message_port_register_in(pmt::mp("generate")); set_msg_handler(pmt::mp("generate"), - boost::bind(&random_pdu_impl::generate_pdu, this, _1)); + [this](pmt::pmt_t msg) { this->generate_pdu(msg); }); if (length_modulo < 1) throw std::runtime_error("length_module must be >= 1"); if (max_items < length_modulo) |