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:
Chocobo1
2019-05-09 12:45:52 +08:00
parent 4b263f057d
commit 3955eef50d
18 changed files with 124 additions and 127 deletions

View File

@@ -30,6 +30,8 @@
#ifndef BITTORRENT_TRACKER_H
#define BITTORRENT_TRACKER_H
#include <libtorrent/fwd.hpp>
#include <QHash>
#include <QObject>
#include <QHostAddress>
@@ -37,11 +39,6 @@
#include "base/http/irequesthandler.h"
#include "base/http/responsebuilder.h"
namespace libtorrent
{
class entry;
}
namespace Http
{
class Server;
@@ -58,7 +55,7 @@ namespace BitTorrent
bool operator!=(const Peer &other) const;
bool operator==(const Peer &other) const;
QString uid() const;
libtorrent::entry toEntry(bool noPeerId) const;
lt::entry toEntry(bool noPeerId) const;
};
struct TrackerAnnounceRequest