Add node-based foa containers to erase_if tests

This commit is contained in:
Christian Mazakas committed 2023-01-30 13:55:50 -08:00
1 parent b4a23a875c
commit 91b3863c77
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -2035,7 +2035,7 @@ private:
{
std::size_t s=size();
for_all_elements([&,this](group_type* pg,unsigned int n,element_type* p){
if(pr(*p)) erase(iterator{pg,n,p});
if(pr(type_policy::value_from(*p))) erase(iterator{pg,n,p});
});
return std::size_t(s-size());
}