diff options
Diffstat (limited to 'TAO/tao/ORB_Core_Auto_Ptr.cpp')
-rw-r--r-- | TAO/tao/ORB_Core_Auto_Ptr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/ORB_Core_Auto_Ptr.cpp b/TAO/tao/ORB_Core_Auto_Ptr.cpp index 44b464abf54..e3904b7661e 100644 --- a/TAO/tao/ORB_Core_Auto_Ptr.cpp +++ b/TAO/tao/ORB_Core_Auto_Ptr.cpp @@ -8,9 +8,9 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL -TAO_ORB_Core_Auto_Ptr::~TAO_ORB_Core_Auto_Ptr (void) +TAO_ORB_Core_Auto_Ptr::~TAO_ORB_Core_Auto_Ptr () { - if (this->get () != 0) + if (this->get () != nullptr) { this->get ()->_decr_refcnt (); } @@ -19,7 +19,7 @@ TAO_ORB_Core_Auto_Ptr::~TAO_ORB_Core_Auto_Ptr (void) void TAO_ORB_Core_Auto_Ptr::reset (TAO_ORB_Core *p) { - if (this->get () != p && this->get () != 0) + if (this->get () != p && this->get () != nullptr) { this->get ()->_decr_refcnt (); } |