summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicInterface/Request.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/DynamicInterface/Request.h')
-rw-r--r--TAO/tao/DynamicInterface/Request.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/tao/DynamicInterface/Request.h b/TAO/tao/DynamicInterface/Request.h
index 6613188666b..19054aa74c2 100644
--- a/TAO/tao/DynamicInterface/Request.h
+++ b/TAO/tao/DynamicInterface/Request.h
@@ -40,11 +40,7 @@
#endif /* TAO_HAS_AMI */
#include "ace/SString.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
@@ -248,11 +244,7 @@ namespace CORBA
CORBA::Context_ptr ctx_;
/// Reference counting.
-#if defined (ACE_HAS_CPP11)
std::atomic<uint32_t> refcount_;
-#else
- ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> refcount_;
-#endif /* ACE_HAS_CPP11 */
/// Protect the response_received_.
TAO_SYNCH_MUTEX lock_;