From 9764dd1dcebe4e6f4557cb3626f1e311ce444267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 23 Oct 2024 12:15:13 +0200 Subject: [PATCH] remove extra include --- BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h | 2 -- .../CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h b/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h index 79f1199e24d9..36a872737b13 100644 --- a/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h +++ b/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h @@ -9,7 +9,6 @@ // // Author(s) : Andreas Fabri, Philipp Moeller -// include this to avoid a VC15 warning #include #include @@ -21,7 +20,6 @@ #include #include #include -#include #include #include diff --git a/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h b/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h index 5127f692a24e..dc7098520a6b 100644 --- a/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h +++ b/BGL/include/CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h @@ -11,11 +11,16 @@ #ifndef CGAL_BOOST_GRAPH_GRAPH_TRAITS_POLYMESH_ARRAYKERNELT_H #define CGAL_BOOST_GRAPH_GRAPH_TRAITS_POLYMESH_ARRAYKERNELT_H +#ifdef OPEN_MESH_CLASS + #error OPEN_MESH_CLASS is already defined +#endif + // https://www.graphics.rwth-aachen.de/media/openmesh_static/Documentations/OpenMesh-Doc-Latest/a02182.html #include #include #include + #define OPEN_MESH_CLASS OpenMesh::PolyMesh_ArrayKernelT #include