From 5ff8fdede8e9d93ebf11f48373721c6dc5797fe6 Mon Sep 17 00:00:00 2001 From: Shintaro Sakoda Date: Tue, 12 Mar 2024 11:52:17 +0900 Subject: [PATCH] Fixed to shared_ptr Signed-off-by: Shintaro Sakoda --- apps/check_covariance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/check_covariance.cpp b/apps/check_covariance.cpp index e414e7e1..2910be0b 100644 --- a/apps/check_covariance.cpp +++ b/apps/check_covariance.cpp @@ -45,7 +45,7 @@ int main(int argc, char** argv) { } // prepare ndt - pclomp::MultiGridNormalDistributionsTransform::Ptr mg_ndt_omp(new pclomp::MultiGridNormalDistributionsTransform()); + std::shared_ptr> mg_ndt_omp(new pclomp::MultiGridNormalDistributionsTransform()); mg_ndt_omp->setInputTarget(target_cloud); mg_ndt_omp->setResolution(2.0); mg_ndt_omp->setNumThreads(4);