Skip to content

Commit

Permalink
fix(detected_object_validation): fix constParameterReference (autowar…
Browse files Browse the repository at this point in the history
…efoundation#8075)

fix:constParameterReference

Signed-off-by: kobayu858 <[email protected]>
  • Loading branch information
kobayu858 authored Jul 17, 2024
1 parent 5212714 commit 49dab18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace bg = boost::geometry;
using Shape = autoware_perception_msgs::msg::Shape;
using Polygon2d = autoware::universe_utils::Polygon2d;

Validator::Validator(PointsNumThresholdParam & points_num_threshold_param)
Validator::Validator(const PointsNumThresholdParam & points_num_threshold_param)
{
points_num_threshold_param_.min_points_num = points_num_threshold_param.min_points_num;
points_num_threshold_param_.max_points_num = points_num_threshold_param.max_points_num;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class Validator
pcl::PointCloud<pcl::PointXYZ>::Ptr cropped_pointcloud_;

public:
explicit Validator(PointsNumThresholdParam & points_num_threshold_param);
explicit Validator(const PointsNumThresholdParam & points_num_threshold_param);
inline pcl::PointCloud<pcl::PointXYZ>::Ptr getDebugPointCloudWithinObject()
{
return cropped_pointcloud_;
Expand Down

0 comments on commit 49dab18

Please sign in to comment.