Skip to content

Commit

Permalink
conveyor_pose: set explicit assignment operator for CustomICP
Browse files Browse the repository at this point in the history
Since PCL 1.12 the assignment operator of IterativeClosestPoint has been set to delete
which causes an implicit deletion of the inheriting class CustomICP.
Refer to PointCloudLibrary/pcl#4167 for further
details.
  • Loading branch information
nlimpert committed Apr 8, 2022
1 parent 03183e8 commit 1bf9b36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/conveyor_pose/recognition_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
class CustomICP : public pcl::IterativeClosestPointNonLinear<pcl::PointXYZ, pcl::PointXYZ>
{
public:
CustomICP &
operator=(CustomICP other)
{
return *this;
}
using pcl::IterativeClosestPointNonLinear<pcl::PointXYZ,
pcl::PointXYZ>::IterativeClosestPointNonLinear;

Expand Down

0 comments on commit 1bf9b36

Please sign in to comment.