ReverseEngineering: [skip ci] do not explicitly use boost::shared_ptr because pcl11 now uses std::shared_ptr

This commit is contained in:
wmayer
2020-07-30 14:23:20 +02:00
parent 9e5d9f6643
commit ce628673db

View File

@@ -61,7 +61,7 @@ void RegionGrowing::perform(int ksearch)
}
//normal estimation
pcl::search::Search<pcl::PointXYZ>::Ptr tree = boost::shared_ptr<pcl::search::Search<pcl::PointXYZ> > (new pcl::search::KdTree<pcl::PointXYZ>);
pcl::search::Search<pcl::PointXYZ>::Ptr tree(new pcl::search::KdTree<pcl::PointXYZ>);
pcl::PointCloud <pcl::Normal>::Ptr normals (new pcl::PointCloud <pcl::Normal>);
pcl::NormalEstimation<pcl::PointXYZ, pcl::Normal> normal_estimator;
normal_estimator.setSearchMethod (tree);
@@ -118,7 +118,7 @@ void RegionGrowing::perform(const std::vector<Base::Vector3f>& myNormals)
}
}
pcl::search::Search<pcl::PointXYZ>::Ptr tree = boost::shared_ptr<pcl::search::Search<pcl::PointXYZ> > (new pcl::search::KdTree<pcl::PointXYZ>);
pcl::search::Search<pcl::PointXYZ>::Ptr tree(new pcl::search::KdTree<pcl::PointXYZ>);
tree->setInputCloud (cloud);
// pass through