Fix deprecated add_torrent() method call.

This commit is contained in:
Andrew Resch 2007-09-14 06:53:24 +00:00
parent ff073dc4fb
commit 4bc18ed940

View File

@ -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