mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::ctx::queue: Remove exception assertion on pops.
This commit is contained in:
parent
3abfb6b949
commit
d13ed5854b
1 changed files with 0 additions and 3 deletions
|
@ -83,7 +83,6 @@ ircd::ctx::queue<T>::pop()
|
|||
});
|
||||
|
||||
assert(!q.empty());
|
||||
const unwind::nominal::assertion una;
|
||||
auto ret(std::move(q.front()));
|
||||
q.pop();
|
||||
return ret;
|
||||
|
@ -106,7 +105,6 @@ ircd::ctx::queue<T>::pop_for(const duration &dur)
|
|||
throw timeout{};
|
||||
|
||||
assert(!q.empty());
|
||||
const unwind::nominal::assertion una;
|
||||
auto ret(std::move(q.front()));
|
||||
q.pop();
|
||||
return ret;
|
||||
|
@ -129,7 +127,6 @@ ircd::ctx::queue<T>::pop_until(time_point&& tp)
|
|||
throw timeout{};
|
||||
|
||||
assert(!q.empty());
|
||||
const unwind::nominal::assertion una;
|
||||
auto ret(std::move(q.front()));
|
||||
q.pop();
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue