forked from premiere/premiere-libtorrent
fix to previous timer check-in that broke the api
This commit is contained in:
parent
5f3797cf80
commit
baecc64131
|
@ -289,7 +289,7 @@ namespace libtorrent
|
|||
// This overrides the default announce interval, and no
|
||||
// announce will take place until the given time has
|
||||
// timed out.
|
||||
void force_reannounce(time_duration) const;
|
||||
void force_reannounce(boost::posix_time::time_duration) const;
|
||||
|
||||
// returns the name of this torrent, in case it doesn't
|
||||
// have metadata it returns the name assigned to it
|
||||
|
|
|
@ -640,7 +640,7 @@ namespace libtorrent
|
|||
}
|
||||
|
||||
void torrent_handle::force_reannounce(
|
||||
time_duration duration) const
|
||||
boost::posix_time::time_duration duration) const
|
||||
{
|
||||
INVARIANT_CHECK;
|
||||
|
||||
|
@ -652,7 +652,7 @@ namespace libtorrent
|
|||
|
||||
using boost::posix_time::second_clock;
|
||||
t->force_tracker_request(time_now()
|
||||
+ duration);
|
||||
+ seconds(duration.total_seconds()));
|
||||
}
|
||||
|
||||
void torrent_handle::force_reannounce() const
|
||||
|
|
Loading…
Reference in New Issue