diff --git a/src/libslic3r/Geometry/ArcWelder.cpp b/src/libslic3r/Geometry/ArcWelder.cpp index 9730a36eec..4b02a31dce 100644 --- a/src/libslic3r/Geometry/ArcWelder.cpp +++ b/src/libslic3r/Geometry/ArcWelder.cpp @@ -34,6 +34,7 @@ #include #include #include +#include namespace Slic3r { namespace Geometry { namespace ArcWelder { @@ -309,7 +310,7 @@ static std::optional try_create_circle(const Points::const_iterator begi if (circle) { // Fit the arc between the end points by least squares. // Optimize over all points along the path and the centers of the segments. - std::vector fpts; + boost::container::small_vector fpts; Vec2d first_point = begin->cast(); Vec2d last_point = std::prev(end)->cast(); Vec2d prev_point = first_point;