Use const ref to split criterion function

This commit is contained in:
Jackson Campolattaro 2020-06-30 12:26:12 -04:00
parent 87a3b5c65a
commit ef3ad5fc46
1 changed files with 1 additions and 1 deletions

View File

@ -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++)