mirror of https://github.com/CGAL/cgal
Take FT by reference in for(:) loop
This commit is contained in:
parent
36cccb0d5c
commit
770b7f7a28
|
|
@ -899,7 +899,7 @@ void test_offset(const char* filename)
|
|||
|
||||
// Offset construction
|
||||
int i = 0;
|
||||
for(const FT ot : offset_times)
|
||||
for(const FT& ot : offset_times)
|
||||
{
|
||||
std::cout << "Offset #" << i++ << " = " << ot << std::endl;
|
||||
Polygon_with_holes_2_ptr_container offset_poly_with_holes =
|
||||
|
|
|
|||
Loading…
Reference in New Issue