summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Servant_Base.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 16:45:48 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2020-12-09 16:45:48 +0100
commit419b95663619dcdc3efba31719c382482206875f (patch)
tree418aac872162edda12dd42a5ed47d1abfa48008d /TAO/tao/PortableServer/Servant_Base.cpp
parent61cd647874bd1717fe2854421dce3d42fdb04c57 (diff)
downloadATCD-419b95663619dcdc3efba31719c382482206875f.tar.gz
Removed checks for ACE_HAS_CPP11 and use std::atomic in more places in the TAO core
Diffstat (limited to 'TAO/tao/PortableServer/Servant_Base.cpp')
-rw-r--r--TAO/tao/PortableServer/Servant_Base.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/TAO/tao/PortableServer/Servant_Base.cpp b/TAO/tao/PortableServer/Servant_Base.cpp
index 9bd8738a623..13300d3f75c 100644
--- a/TAO/tao/PortableServer/Servant_Base.cpp
+++ b/TAO/tao/PortableServer/Servant_Base.cpp
@@ -664,11 +664,7 @@ TAO_ServantBase::_remove_ref (void)
CORBA::ULong
TAO_ServantBase::_refcount_value (void) const
{
-#if defined (ACE_HAS_CPP11)
return this->ref_count_;
-#else
- return this->ref_count_.value ();
-#endif /* ACE_HAS_CPP11 */
}
void