From ce628673db9607380f9bfbc35140ce44265aa380 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 30 Jul 2020 14:23:20 +0200 Subject: [PATCH] ReverseEngineering: [skip ci] do not explicitly use boost::shared_ptr because pcl11 now uses std::shared_ptr --- src/Mod/ReverseEngineering/App/RegionGrowing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/ReverseEngineering/App/RegionGrowing.cpp b/src/Mod/ReverseEngineering/App/RegionGrowing.cpp index bb6fd5ef8b..cd3f8fc297 100644 --- a/src/Mod/ReverseEngineering/App/RegionGrowing.cpp +++ b/src/Mod/ReverseEngineering/App/RegionGrowing.cpp @@ -61,7 +61,7 @@ void RegionGrowing::perform(int ksearch) } //normal estimation - pcl::search::Search::Ptr tree = boost::shared_ptr > (new pcl::search::KdTree); + pcl::search::Search::Ptr tree(new pcl::search::KdTree); pcl::PointCloud ::Ptr normals (new pcl::PointCloud ); pcl::NormalEstimation normal_estimator; normal_estimator.setSearchMethod (tree); @@ -118,7 +118,7 @@ void RegionGrowing::perform(const std::vector& myNormals) } } - pcl::search::Search::Ptr tree = boost::shared_ptr > (new pcl::search::KdTree); + pcl::search::Search::Ptr tree(new pcl::search::KdTree); tree->setInputCloud (cloud); // pass through