Skip to content
Snippets Groups Projects
Commit ebb2a7ec authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

BUG: rename uint to unsigned int to avoid compilation error on os x

parent e6823f39
Branches 2076-develop-package-names-3
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ PostGISTable<TConnectionImplementation, TPrecision, SpatialDimension>
std::stringstream sqlCmd;
this->InsertBegin(sqlCmd);
sqlCmd << "POINT( ";
for (uint i = 0; i < SpatialDimension; i++)
for (unsigned int i = 0; i < SpatialDimension; i++)
{
sqlCmd << pt[i] << " ";
}
......@@ -103,7 +103,7 @@ PostGISTable<TConnectionImplementation, TPrecision, SpatialDimension>
VertexIterator itVertex = l->GetVertexList()->Begin();
while (itVertex != l->GetVertexList()->End())
{
for (uint i = 0; i < SpatialDimension; i++)
for (unsigned int i = 0; i < SpatialDimension; i++)
{
sqlCmd << itVertex.Value()[i] << " ";
++itVertex;
......@@ -146,7 +146,7 @@ PostGISTable<TConnectionImplementation, TPrecision, SpatialDimension>
{
//polygon->line_to(itVertex.Value()[0],m_SensorModelFlip*itVertex.Value()[1]);
//std::cout << "vertex: " << itVertex.Value()<< std::endl;
for (uint i = 0; i < SpatialDimension; ++i)
for (unsigned int i = 0; i < SpatialDimension; ++i)
{
sqlCmd << itVertex.Value()[i] << " ";
//++itVertex;
......@@ -181,7 +181,7 @@ PostGISTable<TConnectionImplementation, TPrecision, SpatialDimension>
while (itVertex != correctCurrentPolygonIntRing->GetVertexList()->End())
{
//polygon->line_to(itVertex.Value()[0],m_SensorModelFlip*itVertex.Value()[1]);
for (uint i = 0; i < SpatialDimension; i++)
for (unsigned int i = 0; i < SpatialDimension; i++)
{
sqlCmd << itVertex.Value()[i] << " ";
++itVertex;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment