0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02: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
{
const bool expired(ircd::ctx::wait<std::nothrow_t>(dur) <= zero);
const bool expired
{
ircd::ctx::wait<std::nothrow_t>(dur) <= zero
};
if(pred())
return true;