using consts refs in add_torrent_alert (#1124)
This commit is contained in:
parent
35f98f6a4d
commit
f139776542
|
@ -1815,8 +1815,8 @@ namespace libtorrent
|
|||
struct TORRENT_EXPORT add_torrent_alert final : torrent_alert
|
||||
{
|
||||
// internal
|
||||
add_torrent_alert(aux::stack_allocator& alloc, torrent_handle h
|
||||
, add_torrent_params const& p, error_code ec);
|
||||
add_torrent_alert(aux::stack_allocator& alloc, torrent_handle const& h
|
||||
, add_torrent_params const& p, error_code const& ec);
|
||||
|
||||
TORRENT_DEFINE_ALERT_PRIO(add_torrent_alert, 67)
|
||||
|
||||
|
|
|
@ -1358,8 +1358,8 @@ namespace libtorrent {
|
|||
return msg;
|
||||
}
|
||||
|
||||
add_torrent_alert::add_torrent_alert(aux::stack_allocator& alloc, torrent_handle h
|
||||
, add_torrent_params const& p, error_code ec)
|
||||
add_torrent_alert::add_torrent_alert(aux::stack_allocator& alloc, torrent_handle const& h
|
||||
, add_torrent_params const& p, error_code const& ec)
|
||||
: torrent_alert(alloc, h)
|
||||
, params(p)
|
||||
, error(ec)
|
||||
|
|
Loading…
Reference in New Issue