From d4a5aaafe931321b7bc81f99421077d35a5b0660 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 18 Jan 2024 13:24:30 +0000 Subject: [PATCH] Applied clang-format. --- src/utils/polygon.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/utils/polygon.cpp b/src/utils/polygon.cpp index 4f724dc7e8..decaeb582c 100644 --- a/src/utils/polygon.cpp +++ b/src/utils/polygon.cpp @@ -12,13 +12,13 @@ #include #include #include +#include #include #include #include +#include #include #include -#include -#include #include #include "utils/ListPolyIt.h" @@ -848,12 +848,12 @@ Polygons Polygons::toPolygons(ClipperLib::PolyTree& poly_tree) [](const auto& path) { const auto line_string = ranges::views::concat(path, path | ranges::views::take(1)) - | ranges::views::transform( - [](const auto& point) - { - return fmt::format("{} {}", point.X, point.Y); - }) - | ranges::views::join(ranges::views::c_str(", ")) | ranges::to(); + | ranges::views::transform( + [](const auto& point) + { + return fmt::format("{} {}", point.X, point.Y); + }) + | ranges::views::join(ranges::views::c_str(", ")) | ranges::to(); return "(" + line_string + ")"; }) | ranges::views::join(ranges::views::c_str(", ")) | ranges::to();