0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 23:14:13 +01:00

ircd::ctx::queue: Remove exception assertion on pops.

This commit is contained in:
Jason Volk 2018-09-19 01:44:13 -07:00
parent 3abfb6b949
commit d13ed5854b

View file

@ -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;