diff --git a/include/ircd/cl.h b/include/ircd/cl.h index a19551a5b..c9a24eb95 100644 --- a/include/ircd/cl.h +++ b/include/ircd/cl.h @@ -276,18 +276,8 @@ ircd::cl::kern::kern(code &c, argv&&... a) :kern{c, name} { - constexpr uint argc - { - sizeof...(a) - }; - - data *const datas[argc] - { - std::addressof(a)... - }; - - for(uint i(0); i < argc; ++i) - this->arg(i, *datas[i]); + uint i(0); + (this->arg(i++, a), ...); } template