mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-11 01:44:58 -06: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:
@@ -56,11 +56,11 @@ namespace BitTorrent
|
||||
|
||||
public:
|
||||
#if (LIBTORRENT_VERSION_NUM < 10200)
|
||||
using NativeConstPtr = boost::shared_ptr<const libtorrent::torrent_info>;
|
||||
using NativePtr = boost::shared_ptr<libtorrent::torrent_info>;
|
||||
using NativeConstPtr = boost::shared_ptr<const lt::torrent_info>;
|
||||
using NativePtr = boost::shared_ptr<lt::torrent_info>;
|
||||
#else
|
||||
using NativeConstPtr = std::shared_ptr<const libtorrent::torrent_info>;
|
||||
using NativePtr = std::shared_ptr<libtorrent::torrent_info>;
|
||||
using NativeConstPtr = std::shared_ptr<const lt::torrent_info>;
|
||||
using NativePtr = std::shared_ptr<lt::torrent_info>;
|
||||
#endif
|
||||
|
||||
explicit TorrentInfo(NativeConstPtr nativeInfo = {});
|
||||
|
||||
Reference in New Issue
Block a user