From f2ce7713a66744b45561b976437900819a97ce8c Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Thu, 27 Dec 2007 16:17:07 +0000 Subject: [PATCH] Remove g++ 4.3 warning for empty while loop body --- .../include/CGAL/Largest_empty_iso_rectangle_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h b/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h index b1766378f19..a499951727a 100644 --- a/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h +++ b/Largest_empty_rect_2/include/CGAL/Largest_empty_iso_rectangle_2.h @@ -1391,7 +1391,7 @@ typename Largest_empty_iso_rectangle_2::const_iterator Largest_empty_iso_rectangle_2::end() const { typename Point_data_set_of_x::const_iterator i = x_sorted.end(); - while(--i != x_sorted.begin() && (*i)->type != REG); + while(--i != x_sorted.begin() && (*i)->type != REG) {} if((*i)->type != REG) // The points list is actually empty. Point to end() to make // begin() == end()