From efb946a4f539b76b3485d6e730d30d75b6627077 Mon Sep 17 00:00:00 2001 From: Guillaume Damiand Date: Wed, 27 Dec 2023 16:26:13 +0100 Subject: [PATCH] warnings --- .../examples/Surface_mesh_topology/facewidth.cpp | 5 ++--- .../Surface_mesh_topology/unsew_edgewidth_repeatedly.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Surface_mesh_topology/examples/Surface_mesh_topology/facewidth.cpp b/Surface_mesh_topology/examples/Surface_mesh_topology/facewidth.cpp index e35579bd8ee..1ac14f92fda 100644 --- a/Surface_mesh_topology/examples/Surface_mesh_topology/facewidth.cpp +++ b/Surface_mesh_topology/examples/Surface_mesh_topology/facewidth.cpp @@ -14,8 +14,6 @@ int main(int argc, char* argv[]) { std::cout<<"Program facewidth_on_unweighted_map started."<=3 && std::string(argv[2])=="-draw") + { draw_facewidth(lcc, cycle); } #endif } diff --git a/Surface_mesh_topology/examples/Surface_mesh_topology/unsew_edgewidth_repeatedly.cpp b/Surface_mesh_topology/examples/Surface_mesh_topology/unsew_edgewidth_repeatedly.cpp index 5dc8900de23..441d41bd45c 100644 --- a/Surface_mesh_topology/examples/Surface_mesh_topology/unsew_edgewidth_repeatedly.cpp +++ b/Surface_mesh_topology/examples/Surface_mesh_topology/unsew_edgewidth_repeatedly.cpp @@ -53,7 +53,7 @@ struct Draw_functor: public CGAL::Graphics_scene_optionsedge_color=[](const LCC_3&, typename LCC_3::Dart_const_handle)->CGAL::IO::Color { return CGAL::IO::Color(0, 0, 255); }; - this->colored_face=[this](const LCC_3&, typename LCC_3::Dart_const_handle)->bool + this->colored_face=[](const LCC_3&, typename LCC_3::Dart_const_handle)->bool { return true; }; this->face_color=[](const LCC_3&, typename LCC_3::Dart_const_handle)->CGAL::IO::Color { return CGAL::IO::Color(211, 211, 211); };