aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/atomic.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/atomic.h b/common/atomic.h
index 15c34953..2b512653 100644
--- a/common/atomic.h
+++ b/common/atomic.h
@@ -15,16 +15,9 @@
#define ATOMIC_LOAD std::atomic_load_explicit
#define ATOMIC_STORE std::atomic_store_explicit
-#define ATOMIC_ADD std::atomic_fetch_add_explicit
-#define ATOMIC_SUB std::atomic_fetch_sub_explicit
-
-
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
#define ATOMIC_STORE_SEQ(_val, _newval) ATOMIC_STORE(_val, _newval, almemory_order_seq_cst)
-#define ATOMIC_ADD_SEQ(_val, _incr) ATOMIC_ADD(_val, _incr, almemory_order_seq_cst)
-#define ATOMIC_SUB_SEQ(_val, _decr) ATOMIC_SUB(_val, _decr, almemory_order_seq_cst)
-
using RefCount = std::atomic<unsigned int>;