diff --git a/Straight_skeleton_2/test/Straight_skeleton_2/test_sls_offset.cpp b/Straight_skeleton_2/test/Straight_skeleton_2/test_sls_offset.cpp index b4023e33d15..ddeabc98860 100644 --- a/Straight_skeleton_2/test/Straight_skeleton_2/test_sls_offset.cpp +++ b/Straight_skeleton_2/test/Straight_skeleton_2/test_sls_offset.cpp @@ -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 =