Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14072 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 12, 2010
1 parent 29fa6f2 commit 6bb8b76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsrubberband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ QgsGeometry *QgsRubberBand::asGeometry()
if ( mIsPolygon )
{
QgsPolygon polygon;
QList<QList<QgsPoint>>::const_iterator it = mPoints.constBegin();
QList< QList<QgsPoint> >::const_iterator it = mPoints.constBegin();
for ( ; it != mPoints.constEnd(); ++it )
{
polygon.append( getPolyline( *it ) );
Expand All @@ -452,7 +452,7 @@ QgsGeometry *QgsRubberBand::asGeometry()
if ( mPoints.size() > 1 )
{
QgsMultiPolyline multiPolyline;
QList<QList<QgsPoint>>::const_iterator it = mPoints.constBegin();
QList< QList<QgsPoint> >::const_iterator it = mPoints.constBegin();
for ( ; it != mPoints.constEnd(); ++it )
{
multiPolyline.append( getPolyline( *it ) );
Expand Down

0 comments on commit 6bb8b76

Please sign in to comment.