mirror of https://github.com/CGAL/cgal
Spatial_searching: unsigned int -> size_t for vector copy
This commit is contained in:
parent
a4e53600c1
commit
c53ae08deb
|
|
@ -330,7 +330,7 @@ public:
|
||||||
dim_ = static_cast<int>(std::distance(ccci(p), ccci(p,0)));
|
dim_ = static_cast<int>(std::distance(ccci(p), ccci(p,0)));
|
||||||
|
|
||||||
data.reserve(pts.size());
|
data.reserve(pts.size());
|
||||||
for(unsigned int i = 0; i < pts.size(); i++){
|
for(std::size_t i = 0; i < pts.size(); i++){
|
||||||
data.push_back(&pts[i]);
|
data.push_back(&pts[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue