fix python binding build
This commit is contained in:
parent
758d5f4a30
commit
d4a7d195c2
|
@ -83,7 +83,7 @@ list file_progress(torrent_handle& handle, int flags)
|
|||
|
||||
{
|
||||
allow_threading_guard guard;
|
||||
boost::intrusive_ptr<const torrent_info> ti = handle.torrent_file();
|
||||
boost::shared_ptr<const torrent_info> ti = handle.torrent_file();
|
||||
if (ti)
|
||||
{
|
||||
p.reserve(ti->num_files());
|
||||
|
|
Loading…
Reference in New Issue