From 4a7116b9962aecb7c0996dce5ec1fa84f1a16bec Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 22 Mar 2023 20:16:09 +0100 Subject: [PATCH] partially restored prior commit to nail down problem with Clang x86 --- include/boost/unordered/detail/foa/concurrent_table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 9a8be3f6..b56d7f1e 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -146,7 +146,7 @@ struct atomic_integral { operator Integral()const{return n.load(std::memory_order_relaxed);} void operator=(Integral m){n.store(m,std::memory_order_relaxed);} - void operator|=(Integral m){n.fetch_or(m,std::memory_order_acq_rel);} + void operator|=(Integral m){n.fetch_or(m,std::memory_order_relaxed);} void operator&=(Integral m){n.fetch_and(m,std::memory_order_acq_rel);} std::atomic n;