diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/NVList.h')
-rw-r--r-- | TAO/tao/AnyTypeCode/NVList.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/TAO/tao/AnyTypeCode/NVList.h b/TAO/tao/AnyTypeCode/NVList.h index 001a1d7691d..3c26d874059 100644 --- a/TAO/tao/AnyTypeCode/NVList.h +++ b/TAO/tao/AnyTypeCode/NVList.h @@ -26,11 +26,7 @@ #include "ace/Unbounded_Queue.h" #include "ace/Thread_Mutex.h" -#if defined (ACE_HAS_CPP11) -# include <atomic> -#else -# include "ace/Atomic_Op.h" -#endif /* ACE_HAS_CPP11 */ +#include <atomic> TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -120,11 +116,7 @@ namespace CORBA private: /// Reference counter. -#if defined (ACE_HAS_CPP11) std::atomic<uint32_t> refcount_; -#else - ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> refcount_; -#endif /* ACE_HAS_CPP11 */ /// holds the value Any any_; @@ -266,11 +258,7 @@ namespace CORBA ULong max_; /// Reference counter. -#if defined (ACE_HAS_CPP11) std::atomic<uint32_t> refcount_; -#else - ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> refcount_; -#endif /* ACE_HAS_CPP11 */ /// Protects the incoming pointer. TAO_SYNCH_MUTEX lock_; |