fixed incomplete porting of PR187

This commit is contained in:
joaquintides authored and Christian Mazakas committed 2023-03-20 12:43:56 -07:00
1 parent ccbc639677
commit a5100a9d35
1 file changed
+2 -1
+2 -1
View File
@@ -261,7 +261,8 @@ public:
iterator begin()noexcept
{
iterator it{this->arrays.groups,0,this->arrays.elements};
if(!(this->arrays.groups[0].match_occupied()&0x1))++it;
if(this->arrays.elements&&
!(this->arrays.groups[0].match_occupied()&0x1))++it;
return it;
}