diff --git a/segmentation/include/pcl/segmentation/seeded_hue_segmentation.h b/segmentation/include/pcl/segmentation/seeded_hue_segmentation.h index 70dd50ec556..c6d0d68ef79 100644 --- a/segmentation/include/pcl/segmentation/seeded_hue_segmentation.h +++ b/segmentation/include/pcl/segmentation/seeded_hue_segmentation.h @@ -107,8 +107,7 @@ namespace pcl ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /** \brief Empty constructor. */ - SeededHueSegmentation () - {}; + SeededHueSegmentation () = default; /** \brief Provide a pointer to the search object. * \param[in] tree a pointer to the spatial search object. diff --git a/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp b/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp index 9c76f3617cc..ce7db93ef84 100644 --- a/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp +++ b/stereo/include/pcl/stereo/impl/disparity_map_converter.hpp @@ -47,8 +47,7 @@ template pcl::DisparityMapConverter::DisparityMapConverter() -: - disparity_threshold_max_(std::numeric_limits::max()) +: disparity_threshold_max_(std::numeric_limits::max()) {} template diff --git a/tools/ply2raw.cpp b/tools/ply2raw.cpp index e2ab3411c9d..bb359d1f450 100644 --- a/tools/ply2raw.cpp +++ b/tools/ply2raw.cpp @@ -61,7 +61,7 @@ class ply_to_raw_converter { public: - ply_to_raw_converter() {} + ply_to_raw_converter() = default; ply_to_raw_converter (const ply_to_raw_converter &f) : ostream_ (), vertex_x_ (0), vertex_y_ (0), vertex_z_ (0),