diff --git a/include/boost/unordered/detail/foa/table.hpp b/include/boost/unordered/detail/foa/table.hpp index fc5c90d0..8840c9ce 100644 --- a/include/boost/unordered/detail/foa/table.hpp +++ b/include/boost/unordered/detail/foa/table.hpp @@ -425,7 +425,7 @@ public: std::size_t s=size(); x.for_all_elements( [&](group_type* pg,unsigned int n,element_type* p){ - if(pr(const_cast(type_policy::value_from(*p))){ + if(pr(const_cast(type_policy::value_from(*p)))){ x.erase(pg,n,p); } });