From ad2dfe345dc027a36babea2a1ff5ae694da1e32a Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 27 Oct 2021 16:07:23 +0200 Subject: [PATCH] Fixed typo in an unused template code, where MSVC does not complain, but GCC does. --- src/libslic3r/Geometry/Circle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Geometry/Circle.hpp b/src/libslic3r/Geometry/Circle.hpp index b2e38fbf18..9b2e2b1ac8 100644 --- a/src/libslic3r/Geometry/Circle.hpp +++ b/src/libslic3r/Geometry/Circle.hpp @@ -71,7 +71,7 @@ struct CircleSq { bool contains_with_eps(const Vector &p, const Scalar relative_epsilon2 = Scalar((1 + 1e-14) * (1 + 1e-14))) const { Scalar r2 = this->radius2 * relative_epsilon2; return (p - this->center).squaredNorm() < r2; } - static CircleSq make_invalid() { return Circle { { 0, 0 }, -1 }; } + static CircleSq make_invalid() { return CircleSq { { 0, 0 }, -1 }; } }; // 2D circle defined by its center and radius