Skip to content

Commit 23e01b5

Browse files
Restore const
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
1 parent d52569c commit 23e01b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

map/map_height_fitter/src/map_height_fitter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct MapHeightFitter::Impl
4040
void on_pcd_map(const sensor_msgs::msg::PointCloud2::ConstSharedPtr msg);
4141
void on_vector_map(const autoware_auto_mapping_msgs::msg::HADMapBin::ConstSharedPtr msg);
4242
bool get_partial_point_cloud_map(const Point & point);
43-
double get_ground_height(const Point & point);
43+
double get_ground_height(const Point & point) const;
4444
std::optional<Point> fit(const Point & position, const std::string & frame);
4545

4646
tf2::BufferCore tf2_buffer_;
@@ -171,7 +171,7 @@ void MapHeightFitter::Impl::on_vector_map(
171171
map_frame_ = msg->header.frame_id;
172172
}
173173

174-
double MapHeightFitter::Impl::get_ground_height(const Point & point)
174+
double MapHeightFitter::Impl::get_ground_height(const Point & point) const
175175
{
176176
const auto logger = node_->get_logger();
177177

0 commit comments

Comments
 (0)