Remove g++ 4.3 warning for empty while loop body

This commit is contained in:
Sylvain Pion 2007-12-27 16:17:07 +00:00
parent 28f4ae9125
commit f2ce7713a6
1 changed files with 1 additions and 1 deletions

View File

@ -1391,7 +1391,7 @@ typename Largest_empty_iso_rectangle_2<T>::const_iterator
Largest_empty_iso_rectangle_2<T>::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()