forked from boostorg/unordered
partially reverted prior commit to nail down problem with Clang x86
This commit is contained in:
1 parent
52453cb5a4
commit
41584e73d9
1 file changed
+2
-2
@@ -146,8 +146,8 @@ 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_relaxed);}
|
||||
void operator&=(Integral m){n.fetch_and(m,std::memory_order_relaxed);}
|
||||
void operator|=(Integral m){n.fetch_or(m,std::memory_order_acq_rel);}
|
||||
void operator&=(Integral m){n.fetch_and(m,std::memory_order_acq_rel);}
|
||||
|
||||
std::atomic<Integral> n;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user