diff options
Diffstat (limited to 'gr-blocks/lib/mute_impl.cc')
-rw-r--r-- | gr-blocks/lib/mute_impl.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-blocks/lib/mute_impl.cc b/gr-blocks/lib/mute_impl.cc index f8873234bf..e77d3199b4 100644 --- a/gr-blocks/lib/mute_impl.cc +++ b/gr-blocks/lib/mute_impl.cc @@ -35,8 +35,9 @@ mute_impl<T>::mute_impl(bool mute) d_mute(mute) { this->message_port_register_in(pmt::intern("set_mute")); - this->set_msg_handler(pmt::intern("set_mute"), - boost::bind(&mute_impl<T>::set_mute_pmt, this, _1)); + this->set_msg_handler( + pmt::intern("set_mute"), + std::bind(&mute_impl<T>::set_mute_pmt, this, std::placeholders::_1)); } template <class T> |