forked from premiere/premiere-libtorrent
use old expires_from_now name, to support older boost versions
This commit is contained in:
parent
85e3b64f98
commit
fda095e0b8
|
@ -150,7 +150,7 @@ namespace aux {
|
|||
, t(std::make_shared<deadline_timer>(e))
|
||||
, sock(s)
|
||||
{
|
||||
t->expires_after(seconds(3));
|
||||
t->expires_from_now(seconds(3));
|
||||
t->async_wait(*this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue