mirror of https://github.com/CGAL/cgal
Use const ref to split criterion function
This commit is contained in:
parent
87a3b5c65a
commit
ef3ad5fc46
|
|
@ -173,7 +173,7 @@ namespace CGAL {
|
|||
m_root.unsplit();
|
||||
}
|
||||
|
||||
void refine(std::function<bool(const Node &)> split_criterion) {
|
||||
void refine(const std::function<bool(const Node &)> &split_criterion) {
|
||||
|
||||
// create a side length map
|
||||
for (int i = 0; i <= (int) 10; i++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue