diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2018-06-27 10:24:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-27 10:24:04 +0200 |
commit | d271d46ebb21768b6860f619bdb7df1029e4470c (patch) | |
tree | b9844dbd93663aa68c9ef0fe24c75f00609b4c8f | |
parent | 29cc7e3b67270ef74747edda70bead9ee46cbabe (diff) | |
parent | 7165c10ea6079dd7a01d5e490a4399d40d6f26f7 (diff) | |
download | ATCD-d271d46ebb21768b6860f619bdb7df1029e4470c.tar.gz |
Merge pull request #648 from jwillemsen/jwi-atomicdefine
Set new define when we are using std atomic refcount in TAO object
-rw-r--r-- | TAO/tao/Object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h index 680428190b5..a2d2dd26fae 100644 --- a/TAO/tao/Object.h +++ b/TAO/tao/Object.h @@ -345,6 +345,7 @@ namespace CORBA /// Number of outstanding references to this object. #if defined (ACE_HAS_CPP11) +# define TAO_OBJECT_USES_STD_ATOMIC_REFCOUNT std::atomic<uint32_t> refcount_; #else ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> refcount_; |