diff --git a/features/src/moment_of_inertia_estimation.cpp b/features/src/moment_of_inertia_estimation.cpp index 2d174fc251c..0c1c9e4b88f 100644 --- a/features/src/moment_of_inertia_estimation.cpp +++ b/features/src/moment_of_inertia_estimation.cpp @@ -45,11 +45,8 @@ #include // Instantiations of specific point types #ifdef PCL_ONLY_CORE_POINT_TYPES - PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZ))) - PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZI))) - PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointXYZRGBA))) - PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, ((pcl::PointNormal))) + PCL_INSTANTIATE(MomentOfInertiaEstimation, (pcl::PointXYZ)(pcl::PointXYZI)(pcl::PointXYZRGBA)(pcl::PointNormal)) #else - PCL_INSTANTIATE_PRODUCT(MomentOfInertiaEstimation, (PCL_XYZ_POINT_TYPES)) + PCL_INSTANTIATE(MomentOfInertiaEstimation, PCL_XYZ_POINT_TYPES) #endif #endif // PCL_NO_PRECOMPILE