diff options
author | Chris Robinson <[email protected]> | 2018-11-26 14:53:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-26 14:53:20 -0800 |
commit | 04cbdbd5695bb8547966cc850ad854b0640ef7b0 (patch) | |
tree | 2fff2046f73d0051fab7b117076c97682fca8ff8 /common | |
parent | 053599b2435844eddcc084414ab9dd1c5ad7ec23 (diff) |
Remove some unused macros
Diffstat (limited to 'common')
-rw-r--r-- | common/atomic.h | 7 |
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>; |