From b90ed662d20f8bc742097ab5fb7b71f1e2cb894b Mon Sep 17 00:00:00 2001 From: Joris Carrier Date: Thu, 17 Oct 2024 08:37:42 +0200 Subject: [PATCH] minor fix on documentation --- include/libtorrent/alert_types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp index a65d5624cca..baa133f80ad 100644 --- a/include/libtorrent/alert_types.hpp +++ b/include/libtorrent/alert_types.hpp @@ -1379,7 +1379,7 @@ TORRENT_VERSION_NAMESPACE_3 // // .. code:: c++ // - // torrent_handle h = alert->handle(); + // torrent_handle h = alert->handle; // std::shared_ptr ti = h.torrent_file(); // create_torrent ct(*ti); // entry te = ct.generate();