* Deriving typedef from pcl type * Explicit boost shared_ptr for function parameters * Use boost::shared_ptr instead of PCL::Ptr * Implementing boost-std compatibility * Using the compatibility layer
This commit is contained in:
@@ -83,7 +83,7 @@ class PointCloudToPCD
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Callback
|
||||
void
|
||||
cloud_cb (const pcl::PCLPointCloud2::ConstPtr& cloud)
|
||||
cloud_cb (const boost::shared_ptr<const pcl::PCLPointCloud2>& cloud)
|
||||
{
|
||||
if ((cloud->width * cloud->height) == 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user