From 15193a49314e5866a4c24f5aa3f0f68fe3673881 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 27 Jun 2024 09:21:47 +0200 Subject: [PATCH] Use nullptr * TAO/tao/Object.inl: --- TAO/tao/Object.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TAO/tao/Object.inl b/TAO/tao/Object.inl index 156d2348018a1..0059623312d7a 100644 --- a/TAO/tao/Object.inl +++ b/TAO/tao/Object.inl @@ -8,7 +8,7 @@ ACE_INLINE CORBA::Boolean CORBA::is_nil<> (CORBA::Object_ptr obj) { - if (obj == 0) + if (!obj) { return true; } @@ -24,8 +24,8 @@ CORBA::Object::Object (int) is_local_ (true), is_evaluated_ (true), ior_ (), - orb_core_ (0), - protocol_proxy_ (0) + orb_core_ (nullptr), + protocol_proxy_ (nullptr) { }