diff --git a/src/path_planning/LayerPlan.cpp b/src/path_planning/LayerPlan.cpp index 97bd380a4e..a33bc88ac8 100644 --- a/src/path_planning/LayerPlan.cpp +++ b/src/path_planning/LayerPlan.cpp @@ -1279,7 +1279,7 @@ std::vector for (const auto& reversed_chunk : paths | ranges::views::enumerate | ranges::views::reverse | ranges::views::chunk_by( - [](const auto& path_a, const auto& path_b) + [](const auto&path_a, const auto&path_b) { return (! std::get<1>(path_a).isTravelPath()) || std::get<1>(path_b).isTravelPath(); }))