Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part G of transition to support modernize-use-default-member-init #5860

Merged
Prev Previous commit
Next Next commit
Addressed more build errors
  • Loading branch information
gnawme committed Dec 1, 2023
commit 0a3a1583fa003017a15cbfe0748398de5d19360e
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace pcl
using PlaneRefinementComparatorConstPtr = typename PlaneRefinementComparator::ConstPtr;

/** \brief Constructor for OrganizedMultiPlaneSegmentation. */
OrganizedMultiPlaneSegmentation () = default;
OrganizedMultiPlaneSegmentation() = default;

/** \brief Destructor for OrganizedMultiPlaneSegmentation. */

Expand Down Expand Up @@ -288,10 +288,10 @@ namespace pcl
bool project_points_{false};

/** \brief A comparator for comparing neighboring pixels' plane equations. */
PlaneComparatorPtr compare_{new PlaneComparator()};
PlaneComparatorPtr compare_{new PlaneComparator};

/** \brief A comparator for use on the refinement step. Compares points to regions segmented in the first pass. */
PlaneRefinementComparatorPtr refinement_compare_{new PlaneRefinementComparatorPtr()};
PlaneRefinementComparatorPtr refinement_compare_{new PlaneRefinementComparator};

/** \brief Class getName method. */
virtual std::string
Expand Down