mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Change to lt
namespace
Quoting from libtorrent doc: > In the future, libtorrent will be the alias and lt the namespace name.
This commit is contained in:
parent
4b263f057d
commit
3955eef50d
18 changed files with 124 additions and 127 deletions
|
@ -48,7 +48,7 @@ namespace BitTorrent
|
|||
};
|
||||
|
||||
TrackerEntry(const QString &url);
|
||||
TrackerEntry(const libtorrent::announce_entry &nativeEntry);
|
||||
TrackerEntry(const lt::announce_entry &nativeEntry);
|
||||
TrackerEntry(const TrackerEntry &other) = default;
|
||||
TrackerEntry &operator=(const TrackerEntry &other) = default;
|
||||
|
||||
|
@ -63,10 +63,10 @@ namespace BitTorrent
|
|||
int numLeeches() const;
|
||||
int numDownloaded() const;
|
||||
|
||||
libtorrent::announce_entry nativeEntry() const;
|
||||
lt::announce_entry nativeEntry() const;
|
||||
|
||||
private:
|
||||
libtorrent::announce_entry m_nativeEntry;
|
||||
lt::announce_entry m_nativeEntry;
|
||||
};
|
||||
|
||||
bool operator==(const TrackerEntry &left, const TrackerEntry &right);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue