From e36d199738fb2ec2ece2d2a7b9e50e5c2a80aba0 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 11 Apr 2016 17:19:56 +0200 Subject: [PATCH] Use Uniue_hash_map instead of std::map; Replace endl --- .../CGAL/Triangulation_data_structure_3.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/TDS_3/include/CGAL/Triangulation_data_structure_3.h b/TDS_3/include/CGAL/Triangulation_data_structure_3.h index fbdd537dd6a..12c6a64432b 100644 --- a/TDS_3/include/CGAL/Triangulation_data_structure_3.h +++ b/TDS_3/include/CGAL/Triangulation_data_structure_3.h @@ -2324,7 +2324,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)) { os << V[it->vertex(j)]; if ( j==3 ) - os << std::endl; + os << '\n'; else os << ' '; } @@ -2340,7 +2340,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)){ os << C[it->neighbor(j)]; if(j==3) - os << std::endl; + os << '\n'; else os << ' '; } @@ -2354,7 +2354,7 @@ print_cells(std::ostream& os, const Unique_hash_map { size_type m = number_of_facets(); if(is_ascii(os)) - os << m << std::endl; + os << m << '\n'; else write(os, m); @@ -2366,7 +2366,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)) { os << V[(*it).first->vertex(j)]; if ( j==2 ) - os << std::endl; + os << '\n'; else os << ' '; } @@ -2383,7 +2383,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)){ os << C[(*it).first->neighbor(j)]; if(j==2) - os << std::endl; + os << '\n'; else os << ' '; } @@ -2398,7 +2398,7 @@ print_cells(std::ostream& os, const Unique_hash_map { size_type m = number_of_edges(); if(is_ascii(os)) - os << m << std::endl; + os << m << '\n'; else write(os, m); // write the edges @@ -2409,7 +2409,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)) { os << V[(*it).first->vertex(j)]; if ( j==1 ) - os << std::endl; + os << '\n'; else os << ' '; } @@ -2426,7 +2426,7 @@ print_cells(std::ostream& os, const Unique_hash_map if(is_ascii(os)){ os << C[(*it).first->neighbor(j)]; if(j==1) - os << std::endl; + os << '\n'; else os << ' '; }