mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-20 14:32:47 +00:00
fixed build with boost 1.81
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user