From 7fdad9d9e318a4fd2423a5a408d37e4e714ef293 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 12 Oct 2026 11:40:22 -0400 Subject: [PATCH] fixed build with boost 1.81 --- libi2pd_client/TorrentsRPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd_client/TorrentsRPC.cpp b/libi2pd_client/TorrentsRPC.cpp index d1284803..b37d856c 100644 --- a/libi2pd_client/TorrentsRPC.cpp +++ b/libi2pd_client/TorrentsRPC.cpp @@ -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); }