From 2c1832bc25c31865b997d58da6a70301b3cbb75c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Wed, 21 Apr 2021 09:27:10 +0100 Subject: [PATCH] Surface Mesh Topology: Try to fix warning --- .../include/CGAL/Linear_cell_complex_constructors.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h b/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h index 40aab7abdd3..211c76a78ae 100644 --- a/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h +++ b/Linear_cell_complex/include/CGAL/Linear_cell_complex_constructors.h @@ -249,6 +249,9 @@ namespace CGAL { { std::size_t index; scanner.scan_facet_vertex_index(index, j+1, i); + if(! in){ + return false; + } B.add_vertex_to_facet(index); } B.end_facet();