Closed
Description
pcl/segmentation/include/pcl/segmentation/segment_differences.h
Lines 62 to 72 in 22aed06
Needs to be changed to
template <typename PointT>
PCL_DEPRECATED("getPointCloudDifference() does not use the tgt parameter, thus it is deprecated and will be removed in future releases.")
inline void getPointCloudDifference (
const pcl::PointCloud<PointT> &src,
const pcl::PointCloud<PointT> &, // removed parameter to suppress warning
double threshold,
const boost::shared_ptr<pcl::search::Search<PointT> > &tree,
pcl::PointCloud<PointT> &output)
{
getPointCloudDifference<PointT> (src, threshold, tree, output); // without the extra parameter
}
to prevent an infinite recursion.