Remove auto from lambda parameter declaration

This commit is contained in:
Thomas Krijnen
2020-04-03 16:24:07 +02:00
parent 5d21d26f24
commit 9b391d3d47
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ struct intersection_validator {
template <typename Fn>
void operator()(Fn fn) {
std::clock_t box_overlap_begin = std::clock();
CGAL::box_self_intersection_d(boxes.begin(), boxes.end(), [](auto& x, auto& y) {});
CGAL::box_self_intersection_d(boxes.begin(), boxes.end(), [](Box& x, Box& y) {});
std::clock_t box_overlap_end = std::clock();
total_box_time += (box_overlap_end - box_overlap_begin) / (double) CLOCKS_PER_SEC;
CGAL::box_self_intersection_d(boxes.begin(), boxes.end(), fn);