nullptr must be quoted

This commit is contained in:
Laurent Rineau 2023-10-18 15:55:43 +02:00
parent ef73057d54
commit d213747c80
2 changed files with 5 additions and 5 deletions

View File

@ -68,19 +68,19 @@ public:
std::function<bool(const DS &, VolumeDescriptor)> volume_wireframe; std::function<bool(const DS &, VolumeDescriptor)> volume_wireframe;
/// `std::function` that returns the color of the given vertex. /// `std::function` that returns the color of the given vertex.
/// nullptr by default. /// `nullptr` by default.
std::function<CGAL::IO::Color(const DS &, VertexDescriptor)> vertex_color; std::function<CGAL::IO::Color(const DS &, VertexDescriptor)> vertex_color;
/// `std::function` that returns the color of the given edge. /// `std::function` that returns the color of the given edge.
/// nullptr by default. /// `nullptr` by default.
std::function<CGAL::IO::Color(const DS &, EdgeDescriptor)> edge_color; std::function<CGAL::IO::Color(const DS &, EdgeDescriptor)> edge_color;
/// `std::function` that returns the color of the given face. /// `std::function` that returns the color of the given face.
/// nullptr by default. /// `nullptr` by default.
std::function<CGAL::IO::Color(const DS &, FaceDescriptor)> face_color; std::function<CGAL::IO::Color(const DS &, FaceDescriptor)> face_color;
/// `std::function` that returns the color of the given volume. /// `std::function` that returns the color of the given volume.
/// nullptr by default. /// `nullptr` by default.
/// Exists only if `VolumeDescriptor` is not `void`. /// Exists only if `VolumeDescriptor` is not `void`.
std::function<CGAL::IO::Color(const DS &, VolumeDescriptor)> volume_color; std::function<CGAL::IO::Color(const DS &, VolumeDescriptor)> volume_color;

View File

@ -806,7 +806,7 @@ namespace CGAL {
/** Compute the dual of a Linear_cell_complex. /** Compute the dual of a Linear_cell_complex.
* @param alcc the lcc in which we build the dual of this lcc. * @param alcc the lcc in which we build the dual of this lcc.
* @param adart a dart of the initial lcc, nullptr by default. * @param adart a dart of the initial lcc, `nullptr` by default.
* @return adart of the dual lcc, the dual of adart if adart!=nullptr, * @return adart of the dual lcc, the dual of adart if adart!=nullptr,
* any dart otherwise. * any dart otherwise.
* As soon as we don't modify this lcc and alcc lcc, we can iterate * As soon as we don't modify this lcc and alcc lcc, we can iterate