diff --git a/ml/include/pcl/ml/feature_handler.h b/ml/include/pcl/ml/feature_handler.h index 112af1a8579..5ccc3f9ccf2 100644 --- a/ml/include/pcl/ml/feature_handler.h +++ b/ml/include/pcl/ml/feature_handler.h @@ -49,7 +49,7 @@ template class PCL_EXPORTS FeatureHandler { public: /** Destructor. */ - virtual ~FeatureHandler()= default;; + virtual ~FeatureHandler() = default; /** Creates random features. * diff --git a/ml/include/pcl/ml/impl/dt/decision_forest_evaluator.hpp b/ml/include/pcl/ml/impl/dt/decision_forest_evaluator.hpp index 62c68dfecfe..69ef6a85788 100644 --- a/ml/include/pcl/ml/impl/dt/decision_forest_evaluator.hpp +++ b/ml/include/pcl/ml/impl/dt/decision_forest_evaluator.hpp @@ -61,8 +61,7 @@ template pcl::DecisionForestEvaluator:: - ~DecisionForestEvaluator() -= default; + ~DecisionForestEvaluator() = default; template DecisionForestTrainer:: - ~DecisionForestTrainer() -= default; + ~DecisionForestTrainer() = default; template DecisionTreeEvaluator:: - DecisionTreeEvaluator() -= default; + DecisionTreeEvaluator() = default; template DecisionTreeEvaluator:: - ~DecisionTreeEvaluator() -= default; + ~DecisionTreeEvaluator() = default; template DecisionTreeTrainer:: - ~DecisionTreeTrainer() -= default; + ~DecisionTreeTrainer() = default; template & out, diff --git a/ml/include/pcl/ml/stats_estimator.h b/ml/include/pcl/ml/stats_estimator.h index d9cee65edde..72424be49bc 100644 --- a/ml/include/pcl/ml/stats_estimator.h +++ b/ml/include/pcl/ml/stats_estimator.h @@ -50,7 +50,7 @@ class PCL_EXPORTS StatsEstimator { public: /** Destructor. */ - virtual ~StatsEstimator()= default;; + virtual ~StatsEstimator() = default; /** Returns the number of brances a node can have (e.g. a binary tree has 2). */ virtual std::size_t diff --git a/ml/src/svm.cpp b/ml/src/svm.cpp index 9ccc508ebfb..379ee3458ba 100644 --- a/ml/src/svm.cpp +++ b/ml/src/svm.cpp @@ -520,9 +520,9 @@ Kernel::k_function(const svm_node* x, const svm_node* y, const svm_parameter& pa class Solver { public: - Solver()= default;; + Solver() = default; - virtual ~Solver()= default;; + virtual ~Solver() = default; struct SolutionInfo { double obj; diff --git a/registration/include/pcl/registration/transformation_estimation.h b/registration/include/pcl/registration/transformation_estimation.h index 18ac1a979fa..7d00ef38f90 100644 --- a/registration/include/pcl/registration/transformation_estimation.h +++ b/registration/include/pcl/registration/transformation_estimation.h @@ -63,8 +63,8 @@ class TransformationEstimation { public: using Matrix4 = Eigen::Matrix; - TransformationEstimation()= default;; - virtual ~TransformationEstimation()= default;; + TransformationEstimation() = default; + virtual ~TransformationEstimation() = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud. \param[in] cloud_src the source point cloud dataset \param[in] diff --git a/registration/include/pcl/registration/transformation_estimation_2D.h b/registration/include/pcl/registration/transformation_estimation_2D.h index b4bc662710c..e079a5b10d2 100644 --- a/registration/include/pcl/registration/transformation_estimation_2D.h +++ b/registration/include/pcl/registration/transformation_estimation_2D.h @@ -65,8 +65,8 @@ class TransformationEstimation2D using Matrix4 = typename TransformationEstimation::Matrix4; - TransformationEstimation2D()= default;; - virtual ~TransformationEstimation2D()= default;; + TransformationEstimation2D() = default; + virtual ~TransformationEstimation2D() = default; /** \brief Estimate a rigid transformation between a source and a target point cloud * in 2D. \param[in] cloud_src the source point cloud dataset \param[in] cloud_tgt the diff --git a/registration/include/pcl/registration/transformation_estimation_dual_quaternion.h b/registration/include/pcl/registration/transformation_estimation_dual_quaternion.h index c5315147331..90412876ed6 100644 --- a/registration/include/pcl/registration/transformation_estimation_dual_quaternion.h +++ b/registration/include/pcl/registration/transformation_estimation_dual_quaternion.h @@ -64,8 +64,8 @@ class TransformationEstimationDualQuaternion using Matrix4 = typename TransformationEstimation::Matrix4; - TransformationEstimationDualQuaternion()= default;; - ~TransformationEstimationDualQuaternion()= default;; + TransformationEstimationDualQuaternion() = default; + ~TransformationEstimationDualQuaternion() = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using dual quaternion optimization \param[in] cloud_src the source diff --git a/registration/include/pcl/registration/transformation_estimation_lm.h b/registration/include/pcl/registration/transformation_estimation_lm.h index ebf1b2a0310..94705070796 100644 --- a/registration/include/pcl/registration/transformation_estimation_lm.h +++ b/registration/include/pcl/registration/transformation_estimation_lm.h @@ -104,7 +104,7 @@ class TransformationEstimationLM } /** \brief Destructor. */ - ~TransformationEstimationLM() override= default;; + ~TransformationEstimationLM() override = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using LM. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_estimation_point_to_plane.h b/registration/include/pcl/registration/transformation_estimation_point_to_plane.h index 83a02a87476..bb9df22e7d4 100644 --- a/registration/include/pcl/registration/transformation_estimation_point_to_plane.h +++ b/registration/include/pcl/registration/transformation_estimation_point_to_plane.h @@ -71,8 +71,8 @@ class TransformationEstimationPointToPlane using Vector4 = Eigen::Matrix; - TransformationEstimationPointToPlane()= default;; - ~TransformationEstimationPointToPlane()= default;; + TransformationEstimationPointToPlane() = default; + ~TransformationEstimationPointToPlane() = default; protected: Scalar diff --git a/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls.h b/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls.h index db72b7de767..3e79c9f5812 100644 --- a/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls.h +++ b/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls.h @@ -71,8 +71,8 @@ class TransformationEstimationPointToPlaneLLS using Matrix4 = typename TransformationEstimation::Matrix4; - TransformationEstimationPointToPlaneLLS()= default;; - ~TransformationEstimationPointToPlaneLLS() override= default;; + TransformationEstimationPointToPlaneLLS() = default; + ~TransformationEstimationPointToPlaneLLS() override = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using SVD. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls_weighted.h b/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls_weighted.h index ebbb34a96c6..cf9f581e559 100644 --- a/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls_weighted.h +++ b/registration/include/pcl/registration/transformation_estimation_point_to_plane_lls_weighted.h @@ -74,8 +74,8 @@ class TransformationEstimationPointToPlaneLLSWeighted using Matrix4 = typename TransformationEstimation::Matrix4; - TransformationEstimationPointToPlaneLLSWeighted()= default;; - virtual ~TransformationEstimationPointToPlaneLLSWeighted()= default;; + TransformationEstimationPointToPlaneLLSWeighted() = default; + virtual ~TransformationEstimationPointToPlaneLLSWeighted() = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using SVD. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_estimation_point_to_plane_weighted.h b/registration/include/pcl/registration/transformation_estimation_point_to_plane_weighted.h index f40e27aa82f..063e2ebcddd 100644 --- a/registration/include/pcl/registration/transformation_estimation_point_to_plane_weighted.h +++ b/registration/include/pcl/registration/transformation_estimation_point_to_plane_weighted.h @@ -115,7 +115,7 @@ class TransformationEstimationPointToPlaneWeighted } /** \brief Destructor. */ - virtual ~TransformationEstimationPointToPlaneWeighted()= default;; + virtual ~TransformationEstimationPointToPlaneWeighted() = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using LM. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_estimation_svd.h b/registration/include/pcl/registration/transformation_estimation_svd.h index d67c755cd4c..c0545e374c5 100644 --- a/registration/include/pcl/registration/transformation_estimation_svd.h +++ b/registration/include/pcl/registration/transformation_estimation_svd.h @@ -68,7 +68,7 @@ class TransformationEstimationSVD * \param[in] use_umeyama Toggles whether or not to use 3rd party software*/ TransformationEstimationSVD(bool use_umeyama = true) : use_umeyama_(use_umeyama) {} - ~TransformationEstimationSVD() override= default;; + ~TransformationEstimationSVD() override = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using SVD. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_estimation_symmetric_point_to_plane_lls.h b/registration/include/pcl/registration/transformation_estimation_symmetric_point_to_plane_lls.h index 523363d88ae..89236b83be8 100644 --- a/registration/include/pcl/registration/transformation_estimation_symmetric_point_to_plane_lls.h +++ b/registration/include/pcl/registration/transformation_estimation_symmetric_point_to_plane_lls.h @@ -73,7 +73,7 @@ class TransformationEstimationSymmetricPointToPlaneLLS TransformationEstimationSymmetricPointToPlaneLLS() : enforce_same_direction_normals_(true){}; - ~TransformationEstimationSymmetricPointToPlaneLLS()= default;; + ~TransformationEstimationSymmetricPointToPlaneLLS() = default; /** \brief Estimate a rigid rotation transformation between a source and a target * point cloud using SVD. \param[in] cloud_src the source point cloud dataset diff --git a/registration/include/pcl/registration/transformation_validation.h b/registration/include/pcl/registration/transformation_validation.h index 7fd9f09bbde..fd34482a60e 100644 --- a/registration/include/pcl/registration/transformation_validation.h +++ b/registration/include/pcl/registration/transformation_validation.h @@ -80,8 +80,8 @@ class TransformationValidation { using PointCloudTargetPtr = typename PointCloudTarget::Ptr; using PointCloudTargetConstPtr = typename PointCloudTarget::ConstPtr; - TransformationValidation()= default;; - virtual ~TransformationValidation()= default;; + TransformationValidation() = default; + virtual ~TransformationValidation() = default; /** \brief Validate the given transformation with respect to the input cloud data, and * return a score. Pure virtual. diff --git a/registration/include/pcl/registration/transformation_validation_euclidean.h b/registration/include/pcl/registration/transformation_validation_euclidean.h index 8c9b19451e7..b22ed68adaf 100644 --- a/registration/include/pcl/registration/transformation_validation_euclidean.h +++ b/registration/include/pcl/registration/transformation_validation_euclidean.h @@ -104,7 +104,7 @@ class TransformationValidationEuclidean { , force_no_recompute_(false) {} - virtual ~TransformationValidationEuclidean()= default;; + virtual ~TransformationValidationEuclidean() = default; /** \brief Set the maximum allowable distance between a point and its correspondence * in the target in order for a correspondence to be considered \a valid. Default: diff --git a/registration/include/pcl/registration/warp_point_rigid.h b/registration/include/pcl/registration/warp_point_rigid.h index a48939e822a..2aa6dec1603 100644 --- a/registration/include/pcl/registration/warp_point_rigid.h +++ b/registration/include/pcl/registration/warp_point_rigid.h @@ -71,7 +71,7 @@ class WarpPointRigid { }; /** \brief Destructor. */ - virtual ~WarpPointRigid()= default;; + virtual ~WarpPointRigid() = default; /** \brief Set warp parameters. Pure virtual. * \param[in] p warp parameters diff --git a/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp b/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp index d84346e4d02..773a2870411 100644 --- a/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp +++ b/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp @@ -59,8 +59,7 @@ pcl::DisparityMapConverter::DisparityMapConverter() {} template -pcl::DisparityMapConverter::~DisparityMapConverter() -= default; +pcl::DisparityMapConverter::~DisparityMapConverter() = default; template inline void diff --git a/stereo/include/pcl/stereo/stereo_matching.h b/stereo/include/pcl/stereo/stereo_matching.h index cb007ce89f8..7dd966adc18 100644 --- a/stereo/include/pcl/stereo/stereo_matching.h +++ b/stereo/include/pcl/stereo/stereo_matching.h @@ -428,7 +428,7 @@ class PCL_EXPORTS GrayStereoMatching : public StereoMatching { class PCL_EXPORTS BlockBasedStereoMatching : public GrayStereoMatching { public: BlockBasedStereoMatching(); - ~BlockBasedStereoMatching() override= default;; + ~BlockBasedStereoMatching() override = default; /** \brief setter for the radius of the squared window * \param[in] radius radius of the squared window used to compute the block-based @@ -465,7 +465,7 @@ class PCL_EXPORTS AdaptiveCostSOStereoMatching : public GrayStereoMatching { public: AdaptiveCostSOStereoMatching(); - ~AdaptiveCostSOStereoMatching() override= default;; + ~AdaptiveCostSOStereoMatching() override = default; /** \brief setter for the radius (half length) of the column used for cost aggregation * \param[in] radius radius (half length) of the column used for cost aggregation; the