partially restored prior commit to nail down problem with Clang x86

This commit is contained in:
joaquintides
2023-03-22 20:16:09 +01:00
parent 41584e73d9
commit 4a7116b996

View File

@ -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<Integral> n;