diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index fd413805..c016cf68 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -512,7 +512,8 @@ public: retired_element_allocator_type ral=this->al(); for(std::size_t i=0;idestroy_element(p); - auto pos=static_cast(e.p-this->arrays.elements()); + auto pos=static_cast(p-this->arrays.elements()); this->arrays.groups()[pos/N].reset(pos%N); e.epoch=retired_element::available_; ++rpos;