We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d94e3b + 3d1fa87 commit 44130adCopy full SHA for 44130ad
libosmscout-map-opengl/src/osmscoutmapopengl/MapPainterOpenGL.cpp
@@ -247,7 +247,7 @@ namespace osmscout {
247
if (fabs(p[i].GetLat() - p[j].GetLat()) < 0.000000001 &&
248
fabs(p[i].GetLon() - p[j].GetLon()) < 0.0000000001) {
249
p.erase(p.begin() + i);
250
- if (i == p.size()) { // i was the last element
+ if (size_t(i) == p.size()) { // i was the last element
251
break;
252
}
253
0 commit comments