diff options
Diffstat (limited to 'TAO/tao/Valuetype/ValueBase.cpp')
-rw-r--r-- | TAO/tao/Valuetype/ValueBase.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/tao/Valuetype/ValueBase.cpp b/TAO/tao/Valuetype/ValueBase.cpp index 9fc61b1b0c3..dd0a46c847e 100644 --- a/TAO/tao/Valuetype/ValueBase.cpp +++ b/TAO/tao/Valuetype/ValueBase.cpp @@ -1426,9 +1426,13 @@ CORBA::DefaultValueRefCountBase::_tao_remove_ref (void) } CORBA::ULong -CORBA::DefaultValueRefCountBase::_tao_refcount_value (void) +CORBA::DefaultValueRefCountBase::_tao_refcount_value (void) const { +#if defined (ACE_HAS_CPP11) + return this->refcount_; +#else return this->refcount_.value (); +#endif /* ACE_HAS_CPP11 */ } // =========================================================== |