From 7e037664e646a7bcbbac72de6589db19f2e2989b Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 24 Nov 2014 17:00:29 +0100 Subject: [PATCH] fix compilation when verbose mode is off --- Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h index 97f13dca913..00a09331a9b 100644 --- a/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h +++ b/Mesh_2/include/CGAL/Mesh_2/Mesh_global_optimizer_2.h @@ -130,8 +130,8 @@ public: moving_vertices.insert(vit); } -#ifdef CGAL_MESH_2_OPTIMIZER_VERBOSE double initial_vertices_nb = static_cast(moving_vertices.size()); +#ifdef CGAL_MESH_2_OPTIMIZER_VERBOSE double step_begin = running_time_.time(); std::cerr << "Running " << Mf::name() << "-smoothing..." << std::endl; std::cerr << "(" << initial_vertices_nb << " vertices moving)" << std::endl;