From 0cedddbba0928f93bd9bd330db22ee188e612d40 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 11 Apr 2015 15:31:36 +0000 Subject: [PATCH] fix build with no deprecated functions --- src/alert.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/alert.cpp b/src/alert.cpp index 6e8a69d12..a161f23bf 100644 --- a/src/alert.cpp +++ b/src/alert.cpp @@ -331,7 +331,7 @@ namespace libtorrent { , incomplete(incomp) , complete(comp) { - TORRENT_ASSERT(!url.empty()); + TORRENT_ASSERT(!u.empty()); } std::string scrape_reply_alert::message() const @@ -388,7 +388,7 @@ namespace libtorrent { : tracker_alert(alloc, h, u) , num_peers(np) { - TORRENT_ASSERT(!url.empty()); + TORRENT_ASSERT(!u.empty()); } std::string tracker_reply_alert::message() const @@ -420,7 +420,7 @@ namespace libtorrent { : tracker_alert(alloc, h, u) , event(e) { - TORRENT_ASSERT(!url.empty()); + TORRENT_ASSERT(!u.empty()); } std::string tracker_announce_alert::message() const