fix winrt compile error in windows.foundation.collections.h(428)
This commit is contained in:
parent
7f160e42a5
commit
e7caa2d20f
|
@ -63,7 +63,6 @@ using libtorrent::dht::node;
|
|||
using libtorrent::dht::node_id;
|
||||
using libtorrent::dht::packet_t;
|
||||
using libtorrent::dht::msg;
|
||||
using namespace libtorrent::detail;
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -393,7 +392,7 @@ namespace libtorrent { namespace dht
|
|||
entry* n = (entry*)userdata;
|
||||
std::string node;
|
||||
std::back_insert_iterator<std::string> out(node);
|
||||
write_endpoint(e.ep(), out);
|
||||
libtorrent::detail::write_endpoint(e.ep(), out);
|
||||
n->list().push_back(entry(node));
|
||||
}
|
||||
|
||||
|
@ -412,7 +411,7 @@ namespace libtorrent { namespace dht
|
|||
{
|
||||
std::string node;
|
||||
std::back_insert_iterator<std::string> out(node);
|
||||
write_endpoint(i->ep(), out);
|
||||
libtorrent::detail::write_endpoint(i->ep(), out);
|
||||
nodes.list().push_back(entry(node));
|
||||
}
|
||||
if (!nodes.list().empty())
|
||||
|
|
Loading…
Reference in New Issue