Skip to content

Commit

Permalink
Fixed mac compile error associated with new ossimRefPtr bool operator
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarkramer committed Jul 19, 2017
1 parent 80e99eb commit 10474e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ossimGui/DataManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ bool ossimGui::DataManager::intersectRays(NodeListType& nodes)
if (geom)
{
proj.push_back(geom->getProjection());
if (proj.back() != NULL)
if (proj.back())
{
ossimSensorModel* m = dynamic_cast<ossimSensorModel*>(proj.back().get());
if(m)
Expand Down

0 comments on commit 10474e6

Please sign in to comment.