Skip to content

Commit fefb3d0

Browse files
committed
Fix for older compilers, like on stock Mac OS X (provided by Juergen)
1 parent fef272e commit fefb3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsgeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ class CORE_EXPORT QgsGeometry
437437
* @param ignoreFeatures possibility to give a list of features where intersections should be ignored (not available in python bindings)
438438
* @note added in 1.5
439439
*/
440-
int avoidIntersections( QMap<QgsVectorLayer*, QSet<QgsFeatureId> > ignoreFeatures = QMap<QgsVectorLayer*, QSet<QgsFeatureId> >() );
440+
int avoidIntersections( QMap<QgsVectorLayer*, QSet<QgsFeatureId> > ignoreFeatures = ( QMap<QgsVectorLayer*, QSet<QgsFeatureId> >() ) );
441441

442442
class Error
443443
{

0 commit comments

Comments
 (0)