From 8d95dead21ad12d07df7f5d9176bae3bc32a6bcc Mon Sep 17 00:00:00 2001 From: Mariette Yvinec Date: Fri, 1 Mar 2002 10:06:10 +0000 Subject: [PATCH] std:: added --- .../CGAL/Triangulation_data_structure_2.h | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Packages/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h b/Packages/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h index 8fa38e268bd..25b8a62598b 100644 --- a/Packages/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h +++ b/Packages/Triangulation_2/include/CGAL/Triangulation_data_structure_2.h @@ -1498,11 +1498,11 @@ vrml_output( std::ostream& os, Vertex_handle v, bool skip_infinite) const // if skip_inf is true, the point in the first vertex is not output // and the faces incident to v are not output // (it may be for instance the infinite vertex of the terrain) - os << "#VRML V2.0 utf8" << endl; - os << "Shape {" << endl; - os << "\tgeometry IndexedFaceSet {" << endl; - os << "\t\tcoord Coordinate {" << endl; - os << "\t\t\tpoint [" << endl; + os << "#VRML V2.0 utf8" << std::endl; + os << "Shape {" << std::endl; + os << "\tgeometry IndexedFaceSet {" << std::endl; + os << "\t\tcoord Coordinate {" << std::endl; + os << "\t\t\tpoint [" << std::endl; std::map vmap; Vertex_iterator vit; @@ -1523,9 +1523,9 @@ vrml_output( std::ostream& os, Vertex_handle v, bool skip_infinite) const } } - os << "\t\t\t]" << endl; - os << "\t\t}" << endl; - os << "\t\tcoordIndex [" << endl; + os << "\t\t\t]" << std::endl; + os << "\t\t}" << std::endl; + os << "\t\tcoordIndex [" << std::endl; // faces for(fit= faces_begin(); fit != faces_end(); ++fit) { @@ -1534,12 +1534,12 @@ vrml_output( std::ostream& os, Vertex_handle v, bool skip_infinite) const os << vmap[(*fit).vertex(0)] << ", "; os << vmap[(*fit).vertex(1)] << ", "; os << vmap[(*fit).vertex(2)] << ", "; - os << "-1, " << endl; + os << "-1, " << std::endl; } } - os << "\t\t]" << endl; - os << "\t}" << endl; - os << "}" << endl; + os << "\t\t]" << std::endl; + os << "\t}" << std::endl; + os << "}" << std::endl; return; }