Don't use deprecated peer_info fields

This commit is contained in:
Vladimir Golovnev (Glassez) 2017-05-01 19:29:43 +03:00
parent a2f82be6c2
commit 72a54910e9
2 changed files with 0 additions and 7 deletions

View file

@ -121,12 +121,6 @@ bool PeerInfo::isConnecting() const
return (m_nativeInfo.flags & libt::peer_info::connecting); return (m_nativeInfo.flags & libt::peer_info::connecting);
} }
bool PeerInfo::isQueued() const
{
return (m_nativeInfo.flags & libt::peer_info::queued);
}
bool PeerInfo::isOnParole() const bool PeerInfo::isOnParole() const
{ {
return (m_nativeInfo.flags & libt::peer_info::on_parole); return (m_nativeInfo.flags & libt::peer_info::on_parole);

View file

@ -68,7 +68,6 @@ namespace BitTorrent
bool isHandshake() const; bool isHandshake() const;
bool isConnecting() const; bool isConnecting() const;
bool isQueued() const;
bool isOnParole() const; bool isOnParole() const;
bool isSeed() const; bool isSeed() const;