diff options
Diffstat (limited to 'TAO/tao/AnyTypeCode/True_RefCount_Policy.h')
-rw-r--r-- | TAO/tao/AnyTypeCode/True_RefCount_Policy.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/tao/AnyTypeCode/True_RefCount_Policy.h b/TAO/tao/AnyTypeCode/True_RefCount_Policy.h index d21e261cf3d..257032630fc 100644 --- a/TAO/tao/AnyTypeCode/True_RefCount_Policy.h +++ b/TAO/tao/AnyTypeCode/True_RefCount_Policy.h @@ -25,11 +25,7 @@ #include "tao/orbconf.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 @@ -104,11 +100,7 @@ namespace TAO 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 namespace TAO |