mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-01 11:30:43 +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;
|
||||
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;
|
||||
try
|
||||
|
Loading…
x
Reference in New Issue
Block a user