From 035593162a9aed0474dbc9e6c9f55a6e0b31227e Mon Sep 17 00:00:00 2001 From: Nico Kruithof Date: Sun, 25 Feb 2007 13:00:56 +0000 Subject: [PATCH] Remove warning --- .../Triangulation_incremental_builder_3.h | 33 +++++++++++-------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/Skin_surface_3/include/CGAL/Triangulation_incremental_builder_3.h b/Skin_surface_3/include/CGAL/Triangulation_incremental_builder_3.h index bb50648ce35..ac085dc0b6b 100644 --- a/Skin_surface_3/include/CGAL/Triangulation_incremental_builder_3.h +++ b/Skin_surface_3/include/CGAL/Triangulation_incremental_builder_3.h @@ -74,21 +74,26 @@ private: typedef typename MapTriple::iterator MapTripleIt; Vtriple facet(Vertex_handle vh1, Vertex_handle vh2, Vertex_handle vh3) { - if (vh1 < vh2) - if (vh2 < vh3) - return Vtriple(vh1,vh2,vh3); - else - if (vh1 < vh3) - return Vtriple(vh1,vh3,vh2); - else - return Vtriple(vh3,vh1,vh2); - if (vh1 < vh3) + if (vh1 < vh2) { + if (vh2 < vh3) { + return Vtriple(vh1,vh2,vh3); + } else { + if (vh1 < vh3) { + return Vtriple(vh1,vh3,vh2); + } else { + return Vtriple(vh3,vh1,vh2); + } + } + } + if (vh1 < vh3) { return Vtriple(vh2,vh1,vh3); - else - if (vh2 < vh3) - return Vtriple(vh2,vh3,vh1); - else - return Vtriple(vh3,vh2,vh1); + } else { + if (vh2 < vh3) { + return Vtriple(vh2,vh3,vh1); + } else { + return Vtriple(vh3,vh2,vh1); + } + } } MapTriple facets;