move the whole add_torrent_params object into save_resume_data_alert
This commit is contained in:
parent
e0c1b3403c
commit
2d6a6a24ae
|
@ -1114,8 +1114,11 @@ TORRENT_VERSION_NAMESPACE_2
|
|||
{
|
||||
// internal
|
||||
save_resume_data_alert(aux::stack_allocator& alloc
|
||||
, add_torrent_params params
|
||||
, add_torrent_params&& params
|
||||
, torrent_handle const& h);
|
||||
save_resume_data_alert(aux::stack_allocator& alloc
|
||||
, add_torrent_params const& params
|
||||
, torrent_handle const& h) = delete;
|
||||
|
||||
TORRENT_DEFINE_ALERT_PRIO(save_resume_data_alert, 37, alert_priority_critical)
|
||||
|
||||
|
|
|
@ -741,7 +741,7 @@ namespace libtorrent {
|
|||
}
|
||||
|
||||
save_resume_data_alert::save_resume_data_alert(aux::stack_allocator& alloc
|
||||
, add_torrent_params p
|
||||
, add_torrent_params&& p
|
||||
, torrent_handle const& h)
|
||||
: torrent_alert(alloc, h)
|
||||
, params(std::move(p))
|
||||
|
|
Loading…
Reference in New Issue