diff options
Diffstat (limited to 'TAO/tao/Principal.h')
-rw-r--r-- | TAO/tao/Principal.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/tao/Principal.h b/TAO/tao/Principal.h index e961e8b419a..756aac6a9a6 100644 --- a/TAO/tao/Principal.h +++ b/TAO/tao/Principal.h @@ -25,11 +25,7 @@ #include "tao/OctetSeqC.h" #include "tao/Pseudo_VarOut_T.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 @@ -94,11 +90,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 */ }; } // End CORBA namespace |