From 7dfdf113c8a0ac62e8f3530b55b5572f8a784bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 26 Oct 2010 14:14:15 +0000 Subject: [PATCH] add missing * in a wrapper around output_iterator --- Interpolation/include/CGAL/natural_neighbor_coordinates_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h index 96d86be8160..da92e92eb05 100644 --- a/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h +++ b/Interpolation/include/CGAL/natural_neighbor_coordinates_2.h @@ -60,7 +60,7 @@ struct Project_vertex_output_iterator template Project_vertex_output_iterator& operator=(const Vertex_pair& x){ - _base=std::make_pair(x.first->point(), x.second); + *_base=std::make_pair(x.first->point(), x.second); return *this; } };