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:
parent
fd54aa11e6
commit
f4979e42f9
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue