From 72a54910e9ad4399b2d531f9c72a80fc882c5a0f Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Mon, 1 May 2017 19:29:43 +0300 Subject: [PATCH] Don't use deprecated peer_info fields --- src/base/bittorrent/peerinfo.cpp | 6 ------ src/base/bittorrent/peerinfo.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/base/bittorrent/peerinfo.cpp b/src/base/bittorrent/peerinfo.cpp index 29c7686e7..d054e38d7 100644 --- a/src/base/bittorrent/peerinfo.cpp +++ b/src/base/bittorrent/peerinfo.cpp @@ -121,12 +121,6 @@ bool PeerInfo::isConnecting() const return (m_nativeInfo.flags & libt::peer_info::connecting); } -bool PeerInfo::isQueued() const -{ - return (m_nativeInfo.flags & libt::peer_info::queued); -} - - bool PeerInfo::isOnParole() const { return (m_nativeInfo.flags & libt::peer_info::on_parole); diff --git a/src/base/bittorrent/peerinfo.h b/src/base/bittorrent/peerinfo.h index 0c7a06570..0d096c493 100644 --- a/src/base/bittorrent/peerinfo.h +++ b/src/base/bittorrent/peerinfo.h @@ -68,7 +68,6 @@ namespace BitTorrent bool isHandshake() const; bool isConnecting() const; - bool isQueued() const; bool isOnParole() const; bool isSeed() const;