boost 1.73 fix
This commit is contained in:
@@ -34,9 +34,9 @@ ether_encap_impl::ether_encap_impl(bool debug) :
|
||||
message_port_register_out(pmt::mp("to wifi"));
|
||||
|
||||
message_port_register_in(pmt::mp("from tap"));
|
||||
set_msg_handler(pmt::mp("from tap"), boost::bind(ðer_encap_impl::from_tap, this, _1));
|
||||
set_msg_handler(pmt::mp("from tap"), boost::bind(ðer_encap_impl::from_tap, this, boost::placeholders::_1));
|
||||
message_port_register_in(pmt::mp("from wifi"));
|
||||
set_msg_handler(pmt::mp("from wifi"), boost::bind(ðer_encap_impl::from_wifi, this, _1));
|
||||
set_msg_handler(pmt::mp("from wifi"), boost::bind(ðer_encap_impl::from_wifi, this, boost::placeholders::_1));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
+2
-2
@@ -48,10 +48,10 @@ mac_impl(std::vector<uint8_t> src_mac, std::vector<uint8_t> dst_mac, std::vector
|
||||
message_port_register_out(pmt::mp("app out"));
|
||||
|
||||
message_port_register_in(pmt::mp("app in"));
|
||||
set_msg_handler(pmt::mp("app in"), boost::bind(&mac_impl::app_in, this, _1));
|
||||
set_msg_handler(pmt::mp("app in"), boost::bind(&mac_impl::app_in, this, boost::placeholders::_1));
|
||||
|
||||
message_port_register_in(pmt::mp("phy in"));
|
||||
set_msg_handler(pmt::mp("phy in"), boost::bind(&mac_impl::phy_in, this, _1));
|
||||
set_msg_handler(pmt::mp("phy in"), boost::bind(&mac_impl::phy_in, this, boost::placeholders::_1));
|
||||
|
||||
if(!check_mac(src_mac)) throw std::invalid_argument("wrong mac address size");
|
||||
if(!check_mac(dst_mac)) throw std::invalid_argument("wrong mac address size");
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ parse_mac_impl(bool log, bool debug) :
|
||||
d_debug(debug) {
|
||||
|
||||
message_port_register_in(pmt::mp("in"));
|
||||
set_msg_handler(pmt::mp("in"), boost::bind(&parse_mac_impl::parse, this, _1));
|
||||
set_msg_handler(pmt::mp("in"), boost::bind(&parse_mac_impl::parse, this, boost::placeholders::_1));
|
||||
|
||||
message_port_register_out(pmt::mp("fer"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user