use old expires_from_now name, to support older boost versions

This commit is contained in:
arvidn 2020-04-13 14:00:44 +02:00 committed by Arvid Norberg
parent 85e3b64f98
commit fda095e0b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}