mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix deprecated add_torrent() method call.
This commit is contained in:
parent
ff073dc4fb
commit
4bc18ed940
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ boost::filesystem::path const& save_path)
|
||||||
entry e;
|
entry e;
|
||||||
e = bdecode(std::istream_iterator<char>(in), std::istream_iterator<char>());
|
e = bdecode(std::istream_iterator<char>(in), std::istream_iterator<char>());
|
||||||
|
|
||||||
torrent_info t(e);
|
boost::intrusive_ptr<torrent_info> t(new torrent_info(e));
|
||||||
|
|
||||||
entry resume_data;
|
entry resume_data;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue