From 116d2807f49dfa9add1f6618395ce30dfdb05df0 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 13 Dec 2023 12:44:24 +0100 Subject: [PATCH] temporarily disabled garbage collection --- include/boost/unordered/detail/foa/concurrent_table.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index e598271a..8cf8f417 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -841,7 +841,8 @@ public: auto mco=group_type::maybe_caused_overflow(pc); if(reinterpret_cast*>(pg)[n]. compare_exchange_strong(expected,1)){ - retire_element(static_cast(p-this->arrays.elements()),mco); + super::erase(pg,n,p); + //retire_element(static_cast(p-this->arrays.elements()),mco); res=1; } }