Skip to content

Commit

Permalink
Use nullptr
Browse files Browse the repository at this point in the history
    * TAO/tao/Object.inl:
  • Loading branch information
jwillemsen committed Jun 27, 2024
1 parent dee98e4 commit 15193a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TAO/tao/Object.inl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ACE_INLINE
CORBA::Boolean
CORBA::is_nil<> (CORBA::Object_ptr obj)
{
if (obj == 0)
if (!obj)
{
return true;
}
Expand All @@ -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)
{
}

Expand Down

0 comments on commit 15193a4

Please sign in to comment.