mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
- Fix compilation error on some systems
This commit is contained in:
parent
396427e3b6
commit
9a68e0cc25
2 changed files with 7 additions and 6 deletions
|
@ -546,17 +546,17 @@ void QTorrentHandle::resolve_countries(bool r) {
|
|||
h.resolve_countries(r);
|
||||
}
|
||||
|
||||
void QTorrentHandle::connect_peer(asio::ip::tcp::endpoint const& adr, int source) const {
|
||||
void QTorrentHandle::connect_peer(libtorrent::asio::ip::tcp::endpoint const& adr, int source) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.connect_peer(adr, source);
|
||||
}
|
||||
|
||||
void QTorrentHandle::set_peer_upload_limit(asio::ip::tcp::endpoint ip, int limit) const {
|
||||
void QTorrentHandle::set_peer_upload_limit(libtorrent::asio::ip::tcp::endpoint ip, int limit) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.set_peer_upload_limit(ip, limit);
|
||||
}
|
||||
|
||||
void QTorrentHandle::set_peer_download_limit(asio::ip::tcp::endpoint ip, int limit) const {
|
||||
void QTorrentHandle::set_peer_download_limit(libtorrent::asio::ip::tcp::endpoint ip, int limit) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.set_peer_download_limit(ip, limit);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue