mirror of https://github.com/CGAL/cgal
add missing const
This commit is contained in:
parent
1008eaed39
commit
80da7ff111
|
|
@ -35,7 +35,7 @@ int main() {
|
|||
|
||||
std::cout << "The first 5 nearest neighbours with positive x-coord are: " << std::endl;
|
||||
for (int j=0; (j < 5)&&(it!=end); ++j,++it)
|
||||
std::cout << (*it).first << " at squared distance = " << (*it).second << std::endl;
|
||||
std::cout << (*it).first << " at squared distance = " << it->second << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ namespace CGAL {
|
|||
|
||||
typedef std::input_iterator_tag iterator_category;
|
||||
typedef Point_with_transformed_distance value_type;
|
||||
typedef Point_with_transformed_distance* pointer;
|
||||
typedef const Point_with_transformed_distance* pointer;
|
||||
typedef const Point_with_transformed_distance& reference;
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
|
|
|
|||
|
|
@ -480,7 +480,7 @@ namespace CGAL {
|
|||
|
||||
typedef std::input_iterator_tag iterator_category;
|
||||
typedef Point_with_transformed_distance value_type;
|
||||
typedef Point_with_transformed_distance* pointer;
|
||||
typedef const Point_with_transformed_distance* pointer;
|
||||
typedef const Point_with_transformed_distance& reference;
|
||||
typedef std::size_t size_type;
|
||||
typedef std::ptrdiff_t difference_type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue