From 092fd9b97f99f5cc0ed3141a3f3e63ec00dbef83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20Sch=C3=B6nherr?= Date: Wed, 13 Sep 2000 20:27:51 +0000 Subject: [PATCH] ported to M$-VC++ --- .../include/CGAL/Optimisation/Construct_point_2.h | 4 ++-- .../include/CGAL/Optimisation/Construct_point_3.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_2.h b/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_2.h index d9a88b5a617..116d74d495b 100644 --- a/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_2.h +++ b/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_2.h @@ -21,7 +21,7 @@ // maintainer : Sven Schönherr // coordinator : ETH Zürich (Bernd Gärtner ) // -// implementation: dD construction `point' +// implementation: 2D construction `point' // ============================================================================ #ifndef CGAL_OPTIMISATION_CONSTRUCT_POINT_2_H @@ -71,7 +71,7 @@ class Construct_point_2 { Point operator() ( int d, InputIterator first, InputIterator last) const { - std::vector coords; + std::vector coords; std::copy( first, last, std::back_inserter( coords)); if ( coords.size() < 3) { return Point( coords[ 0], coords[ 1]); diff --git a/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_3.h b/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_3.h index e84e32cc15c..a066749a8b6 100644 --- a/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_3.h +++ b/Packages/Optimisation_basic/include/CGAL/Optimisation/Construct_point_3.h @@ -21,7 +21,7 @@ // maintainer : Sven Schönherr // coordinator : ETH Zürich (Bernd Gärtner ) // -// implementation: dD construction `point' +// implementation: 3D construction `point' // ============================================================================ #ifndef CGAL_OPTIMISATION_CONSTRUCT_POINT_3_H @@ -71,7 +71,7 @@ class Construct_point_3 { Point operator() ( int d, InputIterator first, InputIterator last) const { - std::vector coords; + std::vector coords; std::copy( first, last, std::back_inserter( coords)); if ( coords.size() < 4) { return Point( coords[ 0], coords[ 1], coords[ 2]);