From b9e1db41a081f58142c5c2c4ef61c74f870aa5fc Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 24 Jun 2026 00:36:41 -0300 Subject: [PATCH] fix: explicit template instantiation for clang-cl in BoundingBox clang-cl does not instantiate BoundingBoxBase::construct for Points::const_iterator through the same transitive path accepted by MSVC. Add the explicit instantiation so the template definition is emitted where the clang-cl build needs it. --- src/libslic3r/BoundingBox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libslic3r/BoundingBox.cpp b/src/libslic3r/BoundingBox.cpp index a2a510b64c..cf5441dace 100644 --- a/src/libslic3r/BoundingBox.cpp +++ b/src/libslic3r/BoundingBox.cpp @@ -8,6 +8,8 @@ namespace Slic3r { template BoundingBoxBase::BoundingBoxBase(const Points &points); +template void BoundingBoxBase::construct<0, BoundingBox, Points::const_iterator>(BoundingBox&, Points::const_iterator, Points::const_iterator); +template void BoundingBoxBase::construct<1, BoundingBox, Points::const_iterator>(BoundingBox&, Points::const_iterator, Points::const_iterator); template BoundingBoxBase::BoundingBoxBase(const std::vector &points); template BoundingBox3Base::BoundingBox3Base(const std::vector &points);