Fix compilation error: '_1' was not declared in this scope
Change-Id: I0f1f2df817a65f7d5b72c5280451346a0a011d47
diff --git a/lib/receiver/clock_offset_control_impl.cc b/lib/receiver/clock_offset_control_impl.cc
index d62c801..c733346 100644
--- a/lib/receiver/clock_offset_control_impl.cc
+++ b/lib/receiver/clock_offset_control_impl.cc
@@ -50,7 +50,7 @@
{
message_port_register_in(pmt::mp("measurements"));
- set_msg_handler(pmt::mp("measurements"), boost::bind(&clock_offset_control_impl::process_measurement, this, _1));
+ set_msg_handler(pmt::mp("measurements"), boost::bind(&clock_offset_control_impl::process_measurement, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("ctrl"));
set_fc(fc);
diff --git a/lib/receiver/cx_channel_hopper_impl.cc b/lib/receiver/cx_channel_hopper_impl.cc
index e5be27a..4d19818 100644
--- a/lib/receiver/cx_channel_hopper_impl.cc
+++ b/lib/receiver/cx_channel_hopper_impl.cc
@@ -71,7 +71,7 @@
}
message_port_register_in(pmt::mp("CX"));
- set_msg_handler(pmt::mp("CX"), boost::bind(&cx_channel_hopper_impl::assemble_bursts, this, _1));
+ set_msg_handler(pmt::mp("CX"), boost::bind(&cx_channel_hopper_impl::assemble_bursts, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("bursts"));
}