Skip to content

Commit

Permalink
Nearest_k_neighbours is now const
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 13, 2020
1 parent 03370ef commit 6ab7583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Octree/include/CGAL/Octree.h
Expand Up @@ -331,7 +331,7 @@ class Octree {
}

template <typename Point_output_iterator>
void nearest_k_neighbours(const Point &p, std::size_t k, Point_output_iterator output) {
void nearest_k_neighbours(const Point &p, std::size_t k, Point_output_iterator output) const {

*output++ = p;
}
Expand Down

0 comments on commit 6ab7583

Please sign in to comment.