Add node-based foa containers to erase_if tests

This commit is contained in:
Christian Mazakas
2023-01-30 13:55:50 -08:00
parent b4a23a875c
commit 91b3863c77
2 changed files with 3 additions and 1 deletions
+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());
}