From 4bc18ed94043a55a8a2d1a1465d7005bcb080f0b Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 14 Sep 2007 06:53:24 +0000 Subject: [PATCH] Fix deprecated add_torrent() method call. --- src/deluge_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deluge_core.cpp b/src/deluge_core.cpp index acb1414b0..d986d37b7 100644 --- a/src/deluge_core.cpp +++ b/src/deluge_core.cpp @@ -222,7 +222,7 @@ boost::filesystem::path const& save_path) entry e; e = bdecode(std::istream_iterator(in), std::istream_iterator()); - torrent_info t(e); + boost::intrusive_ptr t(new torrent_info(e)); entry resume_data; try