diff --git a/Surface_mesh_topology/doc/Surface_mesh_topology/CGAL/Polygonal_schema_min_items.h b/Surface_mesh_topology/doc/Surface_mesh_topology/CGAL/Polygonal_schema_min_items.h index 62047a8092b..db4bfee78f9 100644 --- a/Surface_mesh_topology/doc/Surface_mesh_topology/CGAL/Polygonal_schema_min_items.h +++ b/Surface_mesh_topology/doc/Surface_mesh_topology/CGAL/Polygonal_schema_min_items.h @@ -4,7 +4,7 @@ namespace Surface_mesh_topology { /*! \ingroup PkgSurfaceMeshTopologyClasses -The class `Polygonal_schema_min_items` defines a struct with a char* as the information associated with darts, and no attribute is enabled. +The class `Polygonal_schema_min_items` defines a struct with a std::string as the information associated with darts, and no attribute is enabled. \cgalModels `PolygonalSchemaItems` @@ -20,9 +20,7 @@ struct Polygonal_schema_min_items struct Dart_wrapper { struct Info_for_darts - { char* m_label; - Info_for_darts() : m_label(NULL) {} - }; + { std::string m_label; }; typedef Info_for_darts Dart_info; }; }; diff --git a/Surface_mesh_topology/doc/Surface_mesh_topology/Concepts/PolygonalSchemaItems.h b/Surface_mesh_topology/doc/Surface_mesh_topology/Concepts/PolygonalSchemaItems.h index 672e42a5936..c07d22280da 100644 --- a/Surface_mesh_topology/doc/Surface_mesh_topology/Concepts/PolygonalSchemaItems.h +++ b/Surface_mesh_topology/doc/Surface_mesh_topology/Concepts/PolygonalSchemaItems.h @@ -11,6 +11,7 @@ class PolygonalSchemaItems { +public: /*! - `%Dart_wrapper::%Dart_info`, should be a class having a public data member std::string m_label. */