From 3175ad74d400a7dc074f64f44a9b5c8fe95cc0c2 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 8 Sep 2015 16:33:39 +0200 Subject: [PATCH] add missing ref --- Triangulation_2/include/CGAL/Triangulation_2.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Triangulation_2/include/CGAL/Triangulation_2.h b/Triangulation_2/include/CGAL/Triangulation_2.h index fff449425ee..2ee47f2f4ee 100644 --- a/Triangulation_2/include/CGAL/Triangulation_2.h +++ b/Triangulation_2/include/CGAL/Triangulation_2.h @@ -1925,12 +1925,10 @@ fill_hole_delaunay(std::list & first_hole, OutputItFaces fit) Face_handle f, ff, fn; int i, ii, in; Hole_list hole_list; - Hole hole; - hole_list.push_front(first_hole); while(!hole_list.empty()) { - Hole hole = hole_list.front(); + Hole& hole = hole_list.front(); typename Hole::iterator hit = hole.begin(); if (hole.size() == 3) {