diff --git a/include/ircd/ctx/when.h b/include/ircd/ctx/when.h index 404f041ac..a039f1472 100644 --- a/include/ircd/ctx/when.h +++ b/include/ircd/ctx/when.h @@ -64,6 +64,8 @@ ircd::ctx::when_any(it first, const it &last, F&& closure) { + const critical_assertion ca; + promise p; future ret(p); for(auto f(first); f != last; ++f) @@ -108,6 +110,8 @@ ircd::ctx::when_all(it first, const it &last, F&& closure) { + const critical_assertion ca; + promise p; future ret(p); for(; first != last; ++first)