Skip to content

Commit

Permalink
Correct use of deprecated functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Oct 22, 2019
1 parent 4c2a2eb commit fa6081c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ pcl::GrabCut<PointT>::initCompute ()
}

std::vector<pcl::PCLPointField> in_fields_;
if ((pcl::getFieldIndex<PointT> (*input_, "rgb", in_fields_) == -1) &&
(pcl::getFieldIndex<PointT> (*input_, "rgba", in_fields_) == -1))
if ((pcl::getFieldIndex<PointT> ("rgb", in_fields_) == -1) &&
(pcl::getFieldIndex<PointT> ("rgba", in_fields_) == -1))
{
PCL_ERROR ("[pcl::GrabCut::initCompute ()] No RGB data available, aborting!");
return (false);
Expand Down

0 comments on commit fa6081c

Please sign in to comment.