merge c++11 fix for python binding from RC_0_16
This commit is contained in:
parent
8838289d2e
commit
f3ec7283ad
|
@ -18,7 +18,7 @@ std::string get_buffer(read_piece_alert const& rpa)
|
|||
|
||||
tuple endpoint_to_tuple(tcp::endpoint const& ep)
|
||||
{
|
||||
return make_tuple(ep.address().to_string(), ep.port());
|
||||
return boost::python::make_tuple(ep.address().to_string(), ep.port());
|
||||
}
|
||||
|
||||
tuple peer_alert_ip(peer_alert const& pa)
|
||||
|
|
|
@ -34,12 +34,12 @@ str get_country(peer_info const& pi)
|
|||
|
||||
tuple get_local_endpoint(peer_info const& pi)
|
||||
{
|
||||
return make_tuple(pi.local_endpoint.address().to_string(), pi.local_endpoint.port());
|
||||
return boost::python::make_tuple(pi.local_endpoint.address().to_string(), pi.local_endpoint.port());
|
||||
}
|
||||
|
||||
tuple get_ip(peer_info const& pi)
|
||||
{
|
||||
return make_tuple(pi.ip.address().to_string(), pi.ip.port());
|
||||
return boost::python::make_tuple(pi.ip.address().to_string(), pi.ip.port());
|
||||
}
|
||||
|
||||
list get_pieces(peer_info const& pi)
|
||||
|
|
Loading…
Reference in New Issue