fix build with no deprecated functions

This commit is contained in:
Arvid Norberg 2015-04-11 15:31:36 +00:00
parent b3e061ca94
commit 0cedddbba0
1 changed files with 3 additions and 3 deletions

View File

@ -331,7 +331,7 @@ namespace libtorrent {
, incomplete(incomp) , incomplete(incomp)
, complete(comp) , complete(comp)
{ {
TORRENT_ASSERT(!url.empty()); TORRENT_ASSERT(!u.empty());
} }
std::string scrape_reply_alert::message() const std::string scrape_reply_alert::message() const
@ -388,7 +388,7 @@ namespace libtorrent {
: tracker_alert(alloc, h, u) : tracker_alert(alloc, h, u)
, num_peers(np) , num_peers(np)
{ {
TORRENT_ASSERT(!url.empty()); TORRENT_ASSERT(!u.empty());
} }
std::string tracker_reply_alert::message() const std::string tracker_reply_alert::message() const
@ -420,7 +420,7 @@ namespace libtorrent {
: tracker_alert(alloc, h, u) : tracker_alert(alloc, h, u)
, event(e) , event(e)
{ {
TORRENT_ASSERT(!url.empty()); TORRENT_ASSERT(!u.empty());
} }
std::string tracker_announce_alert::message() const std::string tracker_announce_alert::message() const