mirror of https://github.com/CGAL/cgal
int -> size_t to remove a warning
This commit is contained in:
parent
9dfce2bdcf
commit
dac3ce14e0
|
|
@ -93,7 +93,7 @@ int main()
|
||||||
std::cout << "POLYLINE" << std::endl;
|
std::cout << "POLYLINE" << std::endl;
|
||||||
n = poly.size();
|
n = poly.size();
|
||||||
}
|
}
|
||||||
for(int j=0; j < n; j++){
|
for(std::size_t j=0; j < n; j++){
|
||||||
std::cout << poly[j] << std::endl;
|
std::cout << poly[j] << std::endl;
|
||||||
}
|
}
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ int main()
|
||||||
std::cout << "POLYLINE" << std::endl;
|
std::cout << "POLYLINE" << std::endl;
|
||||||
n = poly.size();
|
n = poly.size();
|
||||||
}
|
}
|
||||||
for(int j=0; j < n; j++){
|
for(std::size_t j=0; j < n; j++){
|
||||||
std::cout << poly[j] << std::endl;
|
std::cout << poly[j] << std::endl;
|
||||||
}
|
}
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue