merge c++11 fix for python binding from RC_0_16

This commit is contained in:
Arvid Norberg 2013-10-01 22:11:46 +00:00
parent 8838289d2e
commit f3ec7283ad
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)