From db02d60d6f8d1135e2bfc68a6fc46cb07bd0b737 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 15 Apr 2016 20:52:13 +0200 Subject: [PATCH] make output_to_medit() faster --- Mesh_3/include/CGAL/IO/File_medit.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Mesh_3/include/CGAL/IO/File_medit.h b/Mesh_3/include/CGAL/IO/File_medit.h index 452fe542041..b879cef9c6f 100644 --- a/Mesh_3/include/CGAL/IO/File_medit.h +++ b/Mesh_3/include/CGAL/IO/File_medit.h @@ -31,6 +31,8 @@ #include #include +#include + namespace CGAL { namespace Mesh_3 { @@ -787,7 +789,7 @@ output_to_medit(std::ostream& os, //------------------------------------------------------- os << "Vertices\n" << tr.number_of_vertices() << '\n'; - std::map V; + boost::unordered_map V; int inum = 1; for( Finite_vertices_iterator vit = tr.finite_vertices_begin(); vit != tr.finite_vertices_end();