Skip to content

Commit

Permalink
fix(detected_object_validation): add virtual destructor to obstacle_p…
Browse files Browse the repository at this point in the history
…ointcloud_based_validator (autowarefoundation#7761)

fix(obstacle_pointcloud_based_validator): add virtual destructor to obstacle_pointcloud_based_validator

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
  • Loading branch information
yhisaki authored and Ariiees committed Jul 22, 2024
1 parent 38b5e24 commit de3d511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>

#include <memory>
#include <vector>

namespace obstacle_pointcloud_based_validator
{
class Debugger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class Validator
const autoware_perception_msgs::msg::DetectedObject & object) = 0;
size_t getThresholdPointCloud(const autoware_perception_msgs::msg::DetectedObject & object);
virtual pcl::PointCloud<pcl::PointXYZ>::Ptr getDebugNeighborPointCloud() = 0;

virtual ~Validator() = default;
};

class Validator2D : public Validator
Expand Down

0 comments on commit de3d511

Please sign in to comment.