Skip to content

Commit 6bd4aa3

Browse files
wawanbretongithub-actions[bot]
authored andcommitted
Apply clang-format
1 parent 2bc7601 commit 6bd4aa3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/LayerPlan.cpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ GCodePath* LayerPlan::getLatestPathWithConfig(
5757
{
5858
return &paths.back();
5959
}
60-
paths.emplace_back(
61-
GCodePath{ .z_offset = z_offset,
62-
.config = config,
63-
.mesh = current_mesh_,
64-
.space_fill_type = space_fill_type,
65-
.flow = flow,
66-
.width_factor = width_factor,
67-
.spiralize = spiralize,
68-
.speed_factor = speed_factor });
60+
paths.emplace_back(GCodePath{ .z_offset = z_offset,
61+
.config = config,
62+
.mesh = current_mesh_,
63+
.space_fill_type = space_fill_type,
64+
.flow = flow,
65+
.width_factor = width_factor,
66+
.spiralize = spiralize,
67+
.speed_factor = speed_factor });
6968

7069
GCodePath* ret = &paths.back();
7170
ret->skip_agressive_merge_hint = mode_skip_agressive_merge_;
@@ -1323,7 +1322,7 @@ std::vector<LayerPlan::PathCoasting>
13231322

13241323
for (const auto& reversed_chunk : paths | ranges::views::enumerate | ranges::views::reverse
13251324
| ranges::views::chunk_by(
1326-
[](const auto& path_a, const auto& path_b)
1325+
[](const auto&path_a, const auto&path_b)
13271326
{
13281327
return (! std::get<1>(path_a).isTravelPath()) || std::get<1>(path_b).isTravelPath();
13291328
}))

0 commit comments

Comments
 (0)