0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00

ircd::ctx: Fix extra semicolons on scope.

This commit is contained in:
Jason Volk 2022-06-13 14:21:51 -07:00
parent fd54aa11e6
commit f4979e42f9

View file

@ -147,7 +147,7 @@ ircd::ctx::condition_variable::wait_for(lock &l,
{ {
const unlock_guard<lock> ul{l}; const unlock_guard<lock> ul{l};
expired = ircd::ctx::wait<std::nothrow_t>(dur) <= zero; expired = ircd::ctx::wait<std::nothrow_t>(dur) <= zero;
}; }
if(pred()) if(pred())
return true; return true;
@ -212,7 +212,7 @@ ircd::ctx::condition_variable::wait_until(lock &l,
{ {
const unlock_guard<lock> ul{l}; const unlock_guard<lock> ul{l};
expired = ircd::ctx::wait_until<std::nothrow_t>(tp); expired = ircd::ctx::wait_until<std::nothrow_t>(tp);
}; }
if(pred()) if(pred())
return true; return true;