mirror of https://github.com/CGAL/cgal
Specify constness of iterators
This commit is contained in:
parent
0e934b1673
commit
93d64d108a
|
|
@ -58,7 +58,7 @@ class Feature_set
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef DOXYGEN_RUNNING
|
#ifdef DOXYGEN_RUNNING
|
||||||
using const_iterator = unspecified_type; ///< A random access iterator with value type `Feature_handle`.
|
using const_iterator = unspecified_type; ///< A random access constant iterator with value type `Feature_handle`.
|
||||||
using iterator = unspecified_type; ///< A random access iterator with value type `Feature_handle`.
|
using iterator = unspecified_type; ///< A random access iterator with value type `Feature_handle`.
|
||||||
#else
|
#else
|
||||||
using const_iterator = std::vector<Feature_handle>::const_iterator;
|
using const_iterator = std::vector<Feature_handle>::const_iterator;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class Label_set
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#ifdef DOXYGEN_RUNNING
|
#ifdef DOXYGEN_RUNNING
|
||||||
using const_iterator = unspecified_type; ///< A random access iterator with value type `Label_handle`.
|
using const_iterator = unspecified_type; ///< A random access constant iterator with value type `Label_handle`.
|
||||||
using iterator = unspecified_type; ///< A random access iterator with value type `Label_handle`.
|
using iterator = unspecified_type; ///< A random access iterator with value type `Label_handle`.
|
||||||
#else
|
#else
|
||||||
using const_iterator = std::vector<Label_handle>::const_iterator;
|
using const_iterator = std::vector<Label_handle>::const_iterator;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue