From 006bfdfec03ff7e6cdb18034524eb951a1bdbca2 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 27 Jan 2017 09:21:03 +0100 Subject: [PATCH] Add #ifdef CGAL_PMP_REFINE_DEBUG for total_timer --- .../include/CGAL/Polygon_mesh_processing/internal/refine_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_impl.h index ffb147f4b7e..420c9f60bd3 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/refine_impl.h @@ -313,7 +313,9 @@ public: calculate_scale_attribute(faces, interior_map, scale_attribute, accept_internal_facets); std::vector all_faces(boost::begin(faces), boost::end(faces)); + #ifdef CGAL_PMP_REFINE_DEBUG CGAL::Timer total_timer; total_timer.start(); + #endif for(int i = 0; i < 10; ++i) { std::vector new_faces;