mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
fixed previous commit
This commit is contained in:
@ -425,7 +425,7 @@ public:
|
|||||||
std::size_t s=size();
|
std::size_t s=size();
|
||||||
x.for_all_elements(
|
x.for_all_elements(
|
||||||
[&](group_type* pg,unsigned int n,element_type* p){
|
[&](group_type* pg,unsigned int n,element_type* p){
|
||||||
if(pr(const_cast<const value_type&>(type_policy::value_from(*p))){
|
if(pr(const_cast<const value_type&>(type_policy::value_from(*p)))){
|
||||||
x.erase(pg,n,p);
|
x.erase(pg,n,p);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user