Opened 6 years ago

#238 new defect

NodeTransitPtr has non-symetric equality comparison

Reported by: jspringer Owned by: unassigned
Priority: minor Milestone:
Component: System Version: 2.0
Keywords: Cc:

Description

  OSG::NodeTransitPtr node(getSomeNodePtr());

  if (result == 0) {} // ok
  if (0 == result) {} // does not compile, but should

also, the following should work too, but doesn't:

  if (!result) {}

Change History (0)

Note: See TracTickets for help on using tickets.