Skip to content

Commit 99cc03a

Browse files
committed
build: fix build errors
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 1809036 commit 99cc03a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

planning/static_centerline_generator/include/static_centerline_generator/centerline_source/optimization_trajectory_based_centerline.hpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ class OptimizationTrajectoryBasedCenterline
4141
const std::vector<lanelet::Id> & route_lane_ids);
4242

4343
private:
44-
[[nodiscard]] static std::vector<TrajectoryPoint> optimize_trajectory(
45-
const Path & raw_path) const;
44+
[[nodiscard]] static std::vector<TrajectoryPoint> optimize_trajectory(const Path & raw_path);
4645

4746
rclcpp::Publisher<PathWithLaneId>::SharedPtr pub_raw_path_with_lane_id_{nullptr};
4847
rclcpp::Publisher<Path>::SharedPtr pub_raw_path_{nullptr};

planning/static_centerline_generator/src/centerline_source/optimization_trajectory_based_centerline.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ OptimizationTrajectoryBasedCenterline::generate_centerline_with_optimization(
116116
}
117117

118118
std::vector<TrajectoryPoint> OptimizationTrajectoryBasedCenterline::optimize_trajectory(
119-
const Path & raw_path) const
119+
const Path & raw_path)
120120
{
121121
// convert to trajectory points
122122
const auto raw_traj_points = [&]() {

0 commit comments

Comments
 (0)