提交 578382f8 编写于 作者: J Jiangtao Hu 提交者: Yajia Zhang

planning: fix lint error.

上级 7ce4338f
...@@ -300,7 +300,7 @@ bool ReferenceLineInfo::AddObstacles( ...@@ -300,7 +300,7 @@ bool ReferenceLineInfo::AddObstacles(
for (const auto* obstacle : obstacles) { for (const auto* obstacle : obstacles) {
results.push_back(task->Execute(std::make_shared<Obstacle>(*obstacle))); results.push_back(task->Execute(std::make_shared<Obstacle>(*obstacle)));
} }
for (auto& result: results) { for (auto& result : results) {
result.get(); result.get();
} }
} else { } else {
......
...@@ -196,7 +196,7 @@ Status DpStGraph::CalculateTotalCost() { ...@@ -196,7 +196,7 @@ Status DpStGraph::CalculateTotalCost() {
} }
} }
if (FLAGS_enable_multi_thread_in_dp_st_graph) { if (FLAGS_enable_multi_thread_in_dp_st_graph) {
for (auto& result: results) { for (auto& result : results) {
result.get(); result.get();
} }
} }
......
...@@ -186,7 +186,7 @@ bool DpRoadGraph::GenerateMinCostPath( ...@@ -186,7 +186,7 @@ bool DpRoadGraph::GenerateMinCostPath(
} }
} }
if (FLAGS_enable_multi_thread_in_dp_poly_path) { if (FLAGS_enable_multi_thread_in_dp_poly_path) {
for (auto& result: results) { for (auto& result : results) {
result.get(); result.get();
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册