mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd::ctx::future: Fix action.
This commit is contained in:
parent
d004720fdd
commit
f64f41775d
1 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,8 @@ void
|
|||
ircd::ctx::future<T>::wait_until(const time_point &tp)
|
||||
const
|
||||
{
|
||||
_wait_until(*this, tp);
|
||||
if(!this->wait_until(tp, std::nothrow))
|
||||
throw timeout{};
|
||||
}
|
||||
|
||||
template<class time_point>
|
||||
|
|
Loading…
Reference in a new issue