mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 19:40:39 +00:00
Fix deprecated add_torrent() method call.
This commit is contained in:
parent
ff073dc4fb
commit
4bc18ed940
@ -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…
x
Reference in New Issue
Block a user