Skip to content

Commit

Permalink
Merge pull request #1386 from taketwo/fix-outofcore-c++11
Browse files Browse the repository at this point in the history
Compare pointers with 0 instead of false
  • Loading branch information
jspricke committed Oct 19, 2015
2 parents 1ad951d + 850b337 commit 5b34c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outofcore/include/pcl/outofcore/impl/octree_base_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ namespace pcl
if ( indices[i].empty () )
continue;

if ( children_[i] == false )
if (children_[i] == 0)
{
createChild (i);
}
Expand Down Expand Up @@ -796,7 +796,7 @@ namespace pcl
if(indices[i].empty ())
continue;

if( children_[i] == false )
if (children_[i] == 0)
{
assert (i < 8);
createChild (i);
Expand Down

0 comments on commit 5b34c69

Please sign in to comment.