0
0
Fork 0
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:
Jason Volk 2019-07-19 18:08:37 -07:00
parent d004720fdd
commit f64f41775d

View file

@ -282,7 +282,8 @@ void
ircd::ctx::future<T>::wait_until(const time_point &tp) ircd::ctx::future<T>::wait_until(const time_point &tp)
const const
{ {
_wait_until(*this, tp); if(!this->wait_until(tp, std::nothrow))
throw timeout{};
} }
template<class time_point> template<class time_point>