From e2cda48d8e850683b8aab8d9eb9598914779a9a8 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 2 Feb 2022 12:51:24 +0000 Subject: [PATCH] Polygon: Remove a workaround for an old Sun compiler --- Polygon/include/CGAL/Polygon_2.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Polygon/include/CGAL/Polygon_2.h b/Polygon/include/CGAL/Polygon_2.h index 85c03cb74b5..8960e4f1238 100644 --- a/Polygon/include/CGAL/Polygon_2.h +++ b/Polygon/include/CGAL/Polygon_2.h @@ -157,11 +157,8 @@ class Polygon_2 { template Polygon_2(InputIterator first, InputIterator last, Traits p_traits = Traits()) - : d_container(), traits(p_traits) - { - // Sun STL switches off member templates for binary backward compat. - std::copy(first, last, std::back_inserter(d_container)); - } + : d_container(first,last), traits(p_traits) + {} #ifndef DOXYGEN_RUNNING Polygon_2& operator=(const Polygon_2&)=default;