Bugfix in doc.

This commit is contained in:
Guillaume Damiand 2019-12-19 11:27:30 +01:00
parent 3f2ddf0a41
commit 00a1c8072a
2 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,7 @@ namespace Surface_mesh_topology {
/*! /*!
\ingroup PkgSurfaceMeshTopologyClasses \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` \cgalModels `PolygonalSchemaItems`
@ -20,9 +20,7 @@ struct Polygonal_schema_min_items
struct Dart_wrapper struct Dart_wrapper
{ {
struct Info_for_darts struct Info_for_darts
{ char* m_label; { std::string m_label; };
Info_for_darts() : m_label(NULL) {}
};
typedef Info_for_darts Dart_info; typedef Info_for_darts Dart_info;
}; };
}; };

View File

@ -11,6 +11,7 @@
class PolygonalSchemaItems class PolygonalSchemaItems
{ {
public:
/*! /*!
- `%Dart_wrapper<Map>::%Dart_info`, should be a class having a public data member std::string m_label. - `%Dart_wrapper<Map>::%Dart_info`, should be a class having a public data member std::string m_label.
*/ */