make output_to_medit() faster

This commit is contained in:
Andreas Fabri 2016-04-15 20:52:13 +02:00
parent 7ce7a68cd0
commit db02d60d6f
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,8 @@
#include <string>
#include <CGAL/utility.h>
#include <boost/unordered_map.hpp>
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<Vertex_handle, int> V;
boost::unordered_map<Vertex_handle, int> V;
int inum = 1;
for( Finite_vertices_iterator vit = tr.finite_vertices_begin();
vit != tr.finite_vertices_end();