Skip to content

Commit

Permalink
Merge pull request DOCGroup#2249 from jwillemsen/jwi-objectnullptr
Browse files Browse the repository at this point in the history
Use nullptr
  • Loading branch information
jwillemsen committed Jun 27, 2024
2 parents 98c23ef + 15193a4 commit ad3dd2c
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 ad3dd2c

Please sign in to comment.