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 H of transition to support modernize-use-default-member-init #5899

Merged
Prev Previous commit
Next Next commit
Fixed yet more CI clang-tidy issues
  • Loading branch information
gnawme committed Dec 15, 2023
commit 912cbaec7a08625229b858a1de57b72dcf067d16
6 changes: 3 additions & 3 deletions io/include/pcl/io/openni2_grabber.h
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,9 @@ namespace pcl
// Mapping from config (enum) modes to native OpenNI modes
std::map<int, pcl::io::openni2::OpenNI2VideoMode> config2oni_map_;

pcl::io::openni2::OpenNI2Device::CallbackHandle depth_callback_handle_;
pcl::io::openni2::OpenNI2Device::CallbackHandle image_callback_handle_;
pcl::io::openni2::OpenNI2Device::CallbackHandle ir_callback_handle_;
pcl::io::openni2::OpenNI2Device::CallbackHandle depth_callback_handle_{};
pcl::io::openni2::OpenNI2Device::CallbackHandle image_callback_handle_{};
pcl::io::openni2::OpenNI2Device::CallbackHandle ir_callback_handle_{};
bool running_{false};

CameraParameters rgb_parameters_{std::numeric_limits<double>::quiet_NaN ()};
Expand Down
4 changes: 0 additions & 4 deletions io/src/openni2_grabber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ namespace

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
pcl::io::OpenNI2Grabber::OpenNI2Grabber (const std::string& device_id, const Mode& depth_mode, const Mode& image_mode)
: image_signal_ (), depth_image_signal_ (), ir_image_signal_ (), image_depth_image_signal_ ()
, ir_depth_image_signal_ (), point_cloud_signal_ (), point_cloud_i_signal_ ()
, point_cloud_rgb_signal_ (), point_cloud_rgba_signal_ ()
, depth_callback_handle_ (), image_callback_handle_ (), ir_callback_handle_ ()
{
// initialize driver
updateModeMaps (); // registering mapping from PCL enum modes to openni::VideoMode and vice versa
Expand Down