Browse Source

Don't use deprecated peer_info fields

adaptive-webui-19844
Vladimir Golovnev (Glassez) 8 years ago
parent
commit
72a54910e9
  1. 6
      src/base/bittorrent/peerinfo.cpp
  2. 1
      src/base/bittorrent/peerinfo.h

6
src/base/bittorrent/peerinfo.cpp

@ -121,12 +121,6 @@ bool PeerInfo::isConnecting() const @@ -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);

1
src/base/bittorrent/peerinfo.h

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

Loading…
Cancel
Save