0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::ctx: Minor cleanup.

This commit is contained in:
Jason Volk 2018-08-15 08:21:03 -07:00
parent 9a08305bc4
commit 83cbfea75d

View file

@ -153,7 +153,10 @@ ircd::ctx::dock::wait_for(const duration &dur,
q.push_back(current); do q.push_back(current); do
{ {
const bool expired(ircd::ctx::wait<std::nothrow_t>(dur) <= zero); const bool expired
{
ircd::ctx::wait<std::nothrow_t>(dur) <= zero
};
if(pred()) if(pred())
return true; return true;