renamed torrent::interface() since it seems msvc won't allow it as an identifier
This commit is contained in:
@@ -176,7 +176,7 @@ namespace libtorrent
|
||||
torrent_status status() const;
|
||||
|
||||
void use_interface(const char* net_interface);
|
||||
address const& interface() const { return m_net_interface; }
|
||||
address const& get_interface() const { return m_net_interface; }
|
||||
peer_connection& connect_to_peer(const address& a);
|
||||
|
||||
void set_ratio(float ratio)
|
||||
|
@@ -2446,7 +2446,7 @@ namespace libtorrent
|
||||
m_queued = false;
|
||||
assert(m_connecting);
|
||||
assert(associated_torrent());
|
||||
m_socket->connect(m_remote, associated_torrent()->interface());
|
||||
m_socket->connect(m_remote, associated_torrent()->get_interface());
|
||||
|
||||
if (m_torrent->alerts().should_post(alert::debug))
|
||||
{
|
||||
|
Reference in New Issue
Block a user