Get insert_tests passing under sanitizers

This commit is contained in:
Christian Mazakas
2022-09-27 14:25:57 -07:00
parent 892e437428
commit 450c915284
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -336,7 +336,7 @@ private:
}
else{
pc+=n;
p+=n-n0;
p+=static_cast<int>(n)-static_cast<int>(n0);
}
}
@@ -959,6 +959,7 @@ private:
{
auto pg=arrays_.groups;
auto p=arrays_.elements;
if(!p){return;}
for(std::size_t pos=0,last=arrays_.groups_size_mask+1;
pos!=last;++pos,++pg,p+=N){
auto mask=pg->match_really_occupied();