diff options
author | Marcus Müller <marcus@hostalia.de> | 2020-06-19 11:07:54 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-06-19 11:07:54 +0200 |
commit | e76d04ca2f4f15e3b1a1ab2a81dd52c4e6d2472c (patch) | |
tree | 1d86f68fceed9cd7204d9a79e816dc06c15feaf4 /gr-digital/lib/chunks_to_symbols_impl.cc | |
parent | 98348e37209aa7daeb96fe5ead815e5b083dc6da (diff) | |
parent | 39311758cb1e6a7424d3213b3eb2c65c8c4dcfe1 (diff) |
Move from SWIG to Pybind11
Goodbye, and thanks for all the fish, SWIG.
Please refer to docs/PYBIND11.md for details on how to deal with Pybind.
Diffstat (limited to 'gr-digital/lib/chunks_to_symbols_impl.cc')
-rw-r--r-- | gr-digital/lib/chunks_to_symbols_impl.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gr-digital/lib/chunks_to_symbols_impl.cc b/gr-digital/lib/chunks_to_symbols_impl.cc index e13e2f14e6..2c582b0334 100644 --- a/gr-digital/lib/chunks_to_symbols_impl.cc +++ b/gr-digital/lib/chunks_to_symbols_impl.cc @@ -55,10 +55,8 @@ chunks_to_symbols_impl<IN_T, OUT_T>::chunks_to_symbols_impl( d_symbol_table(symbol_table) { this->message_port_register_in(pmt::mp("set_symbol_table")); - this->set_msg_handler( - pmt::mp("set_symbol_table"), - boost::bind( - &chunks_to_symbols_impl<IN_T, OUT_T>::handle_set_symbol_table, this, _1)); + this->set_msg_handler(pmt::mp("set_symbol_table"), + [this](pmt::pmt_t msg) { this->handle_set_symbol_table(msg); }); } template <class IN_T, class OUT_T> |