src/polygoncache.cpp

changeset 250
2837b549e616
parent 232
8efa3a33172e
child 264
76a025db4948
--- a/src/polygoncache.cpp	Wed Jun 22 16:13:15 2022 +0300
+++ b/src/polygoncache.cpp	Wed Jun 22 16:53:35 2022 +0300
@@ -34,7 +34,7 @@
 	GetPolygonsContext* context)
 {
 	std::vector<WithId<PolygonElement>> result;
-	for (int i = 0; i < model->size(); i += 1)
+	for (std::size_t i = 0; i < model->size(); i += 1)
 	{
 		const ModelElement& element = (*model)[i];
 		const ModelId id = model->idAt(i);

mercurial