From a85df27d4c638085da9c47e9382c57001b3886b0 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 25 Mar 2023 12:47:19 +0100 Subject: [PATCH] fixed previous commit --- include/boost/unordered/detail/foa/table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } });