fixed build with boost 1.81

This commit is contained in:
orignal
2026-10-12 11:40:22 -04:00
parent 76fd0e7880
commit 7fdad9d9e3
+1 -1
View File
@@ -434,7 +434,7 @@ namespace torrents
if (!torrent->GetAnnounce ().empty ())
{
magnet += "&tr=";
magnet += boost::core::string_view (boost::urls::url (torrent->GetAnnounce ()));
magnet += boost::urls::url (torrent->GetAnnounce ()).buffer ();
}
return boost::json::value(magnet);
}