0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:🆑 Allow zero dimension to ignore exec item.

This commit is contained in:
Jason Volk 2021-03-24 20:01:15 -07:00
parent e68c8a95ed
commit 3c95a88bf7

View file

@ -342,6 +342,9 @@ try
for(size_t i(0); i < work.global.size(); ++i) for(size_t i(0); i < work.global.size(); ++i)
dim += work.global[i] > 0; dim += work.global[i] > 0;
if(!dim)
return;
auto &q auto &q
{ {
queue[0][0] queue[0][0]