fix deprecation of use_interface

This commit is contained in:
arvidn 2016-12-02 18:25:50 -05:00 committed by Arvid Norberg
parent 8874a907ef
commit 29e09a457a
1 changed files with 3 additions and 2 deletions

View File

@ -972,8 +972,6 @@ namespace libtorrent
// will return the resume data in an alert
TORRENT_DEPRECATED
entry write_resume_data() const;
// ================ end deprecation ============
#endif
// ``use_interface()`` sets the network interface this torrent will use
// when it opens outgoing connections. By default, it uses the same
@ -982,7 +980,10 @@ namespace libtorrent
// IPv4 or IPv6 address). When specifying multiple interfaces, the
// torrent will round-robin which interface to use for each outgoing
// connection. This is useful for clients that are multi-homed.
TORRENT_DEPRECATED
void use_interface(const char* net_interface) const;
// ================ end deprecation ============
#endif
// Fills the specified ``std::vector<int>`` with the availability for
// each piece in this torrent. libtorrent does not keep track of