aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-05-03 19:00:43 +0200
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-05-03 20:34:13 +0200
commita11692085e2a9407c606cb5963b06011e5785300 (patch)
tree1acc017533244e9d8aabb248b6dbfc33de564ddc /lib/decoding
parent6e1473426dbf28a7141af58ac7d1d05642f26e9b (diff)
Fix compilation error: '_1' was not declared in this scope
Diffstat (limited to 'lib/decoding')
-rw-r--r--lib/decoding/control_channels_decoder_impl.cc2
-rw-r--r--lib/decoding/tch_f_decoder_impl.cc2
-rw-r--r--lib/decoding/tch_h_decoder_impl.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/decoding/control_channels_decoder_impl.cc b/lib/decoding/control_channels_decoder_impl.cc
index 81ce161..b49582f 100644
--- a/lib/decoding/control_channels_decoder_impl.cc
+++ b/lib/decoding/control_channels_decoder_impl.cc
@@ -70,7 +70,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
- set_msg_handler(pmt::mp("bursts"), boost::bind(&control_channels_decoder_impl::decode, this, _1));
+ set_msg_handler(pmt::mp("bursts"), boost::bind(&control_channels_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
}
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index 02dc45a..03e8fc8 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -92,7 +92,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
- set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_decoder_impl::decode, this, _1));
+ set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_f_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
message_port_register_out(pmt::mp("voice"));
diff --git a/lib/decoding/tch_h_decoder_impl.cc b/lib/decoding/tch_h_decoder_impl.cc
index b6827f7..f1ba5ba 100644
--- a/lib/decoding/tch_h_decoder_impl.cc
+++ b/lib/decoding/tch_h_decoder_impl.cc
@@ -81,7 +81,7 @@ namespace gr {
{
//setup input/output ports
message_port_register_in(pmt::mp("bursts"));
- set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_decoder_impl::decode, this, _1));
+ set_msg_handler(pmt::mp("bursts"), boost::bind(&tch_h_decoder_impl::decode, this, boost::placeholders::_1));
message_port_register_out(pmt::mp("msgs"));
message_port_register_out(pmt::mp("voice"));