0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 02:18:53 +02:00

ircd::json: Prevent aggressive unroll into double-jump jam for keys counting.

This commit is contained in:
Jason Volk 2020-04-02 22:18:55 -07:00
parent c4d0ffaec9
commit 17628cbc44

View file

@ -217,6 +217,7 @@ ircd::json::keys<tuple>::count()
const
{
size_t i(0);
#pragma clang loop unroll (disable)
for(; i < this->size(); ++i)
if(!(*this)[i])
break;