forked from premiere/premiere-libtorrent
fix build
This commit is contained in:
parent
c4232065d8
commit
0320546fee
|
@ -497,6 +497,9 @@ namespace libtorrent
|
|||
--m_disk_queues[channel];
|
||||
}
|
||||
|
||||
void add_to_update_queue(boost::weak_ptr<torrent> t)
|
||||
{ m_state_updates.push_back(t); }
|
||||
|
||||
// private:
|
||||
|
||||
void update_connections_limit();
|
||||
|
|
|
@ -8032,7 +8032,7 @@ ctx->set_verify_callback(verify_function, ec);
|
|||
// add it to the list twice
|
||||
if (!m_state_subscription || m_in_state_updates) return;
|
||||
|
||||
m_ses.m_state_updates.push_back(shared_from_this());
|
||||
m_ses.add_to_update_queue(shared_from_this());
|
||||
m_in_state_updates = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue