Use newer libtorrent API

This commit covers trackerentry.cpp only.
This commit is contained in:
Chocobo1 2019-05-14 01:42:39 +08:00
parent 9387dbce41
commit 09ff735007
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 45 additions and 14 deletions

View file

@ -64,7 +64,7 @@ namespace BitTorrent
int numLeeches() const;
int numDownloaded() const;
lt::announce_entry nativeEntry() const;
const lt::announce_entry &nativeEntry() const;
private:
lt::announce_entry m_nativeEntry;