Skip to content

Commit 72064eb

Browse files
authored
fix(detected_object_validation): add virtual destructor to obstacle_pointcloud_based_validator (#7761)
fix(obstacle_pointcloud_based_validator): add virtual destructor to obstacle_pointcloud_based_validator Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
1 parent 9289b35 commit 72064eb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

perception/detected_object_validation/include/detected_object_validation/obstacle_pointcloud_based_validator/debugger.hpp

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
#include <pcl/point_types.h>
2525
#include <pcl_conversions/pcl_conversions.h>
2626

27-
#include <memory>
28-
#include <vector>
29-
3027
namespace obstacle_pointcloud_based_validator
3128
{
3229
class Debugger

perception/detected_object_validation/include/detected_object_validation/obstacle_pointcloud_based_validator/obstacle_pointcloud_based_validator.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ class Validator
7575
const autoware_perception_msgs::msg::DetectedObject & object) = 0;
7676
size_t getThresholdPointCloud(const autoware_perception_msgs::msg::DetectedObject & object);
7777
virtual pcl::PointCloud<pcl::PointXYZ>::Ptr getDebugNeighborPointCloud() = 0;
78+
79+
virtual ~Validator() = default;
7880
};
7981

8082
class Validator2D : public Validator

0 commit comments

Comments
 (0)