diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-02-25 11:14:12 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-02-25 11:14:12 +0100 |
commit | 23b2fc3441d82e141e33428fafe094269eb1d392 (patch) | |
tree | bbd21e56e9432b1639508d72e496c40d7514f938 /TAO/tao/Valuetype/AbstractBase.inl | |
parent | 3ee40a3fef0cdd8a2ce86531a2e78cb218608023 (diff) | |
download | ATCD-23b2fc3441d82e141e33428fafe094269eb1d392.tar.gz |
Use nullptr and cleanup
* TAO/tao/AnyTypeCode/NVList.inl:
* TAO/tao/AnyTypeCode/TypeCode.inl:
* TAO/tao/CORBA_methods.h:
* TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.cpp:
* TAO/tao/DynamicInterface/AMH_DSI_Response_Handler.h:
* TAO/tao/DynamicInterface/Context.cpp:
* TAO/tao/DynamicInterface/Context.h:
* TAO/tao/DynamicInterface/Context.inl:
* TAO/tao/DynamicInterface/DII_Reply_Handler.cpp:
* TAO/tao/DynamicInterface/DII_Reply_Handler.h:
* TAO/tao/DynamicInterface/Dynamic_Adapter_Impl.cpp:
* TAO/tao/DynamicInterface/ExceptionList.cpp:
* TAO/tao/DynamicInterface/ExceptionList.h:
* TAO/tao/DynamicInterface/ExceptionList.inl:
* TAO/tao/DynamicInterface/Request.cpp:
* TAO/tao/DynamicInterface/Request.h:
* TAO/tao/DynamicInterface/Request.inl:
* TAO/tao/DynamicInterface/Server_Request.cpp:
* TAO/tao/DynamicInterface/Server_Request.h:
* TAO/tao/DynamicInterface/Server_Request.inl:
* TAO/tao/Environment.inl:
* TAO/tao/IORTable/IOR_Table_Impl.h:
* TAO/tao/IORTable/Locate_ResponseHandler.cpp:
* TAO/tao/IORTable/Locate_ResponseHandler.h:
* TAO/tao/LocalObject.inl:
* TAO/tao/ORB.inl:
* TAO/tao/Object.inl:
* TAO/tao/PI/ORBInitInfo.h:
* TAO/tao/Principal.h:
* TAO/tao/Principal.inl:
* TAO/tao/RTCORBA/Priority_Mapping_Manager.h:
* TAO/tao/RTCORBA/RT_ProtocolPropertiesC.h:
* TAO/tao/RTScheduling/RTScheduler_Manager.h:
* TAO/tao/Valuetype/AbstractBase.inl:
Diffstat (limited to 'TAO/tao/Valuetype/AbstractBase.inl')
-rw-r--r-- | TAO/tao/Valuetype/AbstractBase.inl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/tao/Valuetype/AbstractBase.inl b/TAO/tao/Valuetype/AbstractBase.inl index e078a365a89..9e4329c0358 100644 --- a/TAO/tao/Valuetype/AbstractBase.inl +++ b/TAO/tao/Valuetype/AbstractBase.inl @@ -17,9 +17,9 @@ CORBA::AbstractBase::_duplicate (CORBA::AbstractBase_ptr obj) ACE_INLINE CORBA::AbstractBase_ptr -CORBA::AbstractBase::_nil (void) +CORBA::AbstractBase::_nil () { - return static_cast <CORBA::AbstractBase_ptr> (0); + return nullptr; } ACE_INLINE CORBA::AbstractBase_ptr @@ -30,14 +30,14 @@ CORBA::AbstractBase::_narrow (CORBA::AbstractBase_ptr obj) ACE_INLINE CORBA::Boolean -CORBA::AbstractBase::_is_objref (void) const +CORBA::AbstractBase::_is_objref () const { return this->is_objref_; } ACE_INLINE TAO_Stub * -CORBA::AbstractBase::_stubobj (void) const +CORBA::AbstractBase::_stubobj () const { if (this->is_objref_) { @@ -51,27 +51,27 @@ CORBA::AbstractBase::_stubobj (void) const ACE_INLINE CORBA::Boolean -CORBA::AbstractBase::_is_collocated (void) const +CORBA::AbstractBase::_is_collocated () const { return this->is_collocated_; } ACE_INLINE TAO_Abstract_ServantBase * -CORBA::AbstractBase::_servant (void) const +CORBA::AbstractBase::_servant () const { return this->servant_; } ACE_INLINE CORBA::Object_ptr -CORBA::AbstractBase::equivalent_objref (void) +CORBA::AbstractBase::equivalent_objref () { return this->equivalent_obj_.in (); } ACE_INLINE void -CORBA::AbstractBase::_decr_refcount (void) +CORBA::AbstractBase::_decr_refcount () { this->_remove_ref (); } |