fix build with std::tr1::array instead of boost::array
This commit is contained in:
@@ -508,10 +508,10 @@ namespace libtorrent
|
||||
if (ip_ent)
|
||||
{
|
||||
char const* p = ip_ent->string_ptr();
|
||||
if (ip_ent->string_length() == address_v4::bytes_type::static_size)
|
||||
if (ip_ent->string_length() == address_v4::bytes_type().size())
|
||||
external_ip = detail::read_v4_address(p);
|
||||
#if TORRENT_USE_IPV6
|
||||
else if (ip_ent->string_length() == address_v6::bytes_type::static_size)
|
||||
else if (ip_ent->string_length() == address_v6::bytes_type().size())
|
||||
external_ip = detail::read_v6_address(p);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user