mirror of
https://github.com/matrix-construct/construct
synced 2024-09-28 03:38:53 +02: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};
|
||||
expired = ircd::ctx::wait<std::nothrow_t>(dur) <= zero;
|
||||
};
|
||||
}
|
||||
|
||||
if(pred())
|
||||
return true;
|
||||
|
@ -212,7 +212,7 @@ ircd::ctx::condition_variable::wait_until(lock &l,
|
|||
{
|
||||
const unlock_guard<lock> ul{l};
|
||||
expired = ircd::ctx::wait_until<std::nothrow_t>(tp);
|
||||
};
|
||||
}
|
||||
|
||||
if(pred())
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue