Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 25, 2017
1 parent 4f4681a commit 317228a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -1321,7 +1321,7 @@ bool QgsOgrProvider::addFeaturePrivate( QgsFeature &f, Flags flags )
// field to not be present at all in the output, and thus on reading to
// have disappeared. #16812
#ifdef OGRNullMarker
OGR_F_SetFieldNull( feature, ogrAttId );
OGR_F_SetFieldNull( feature.get(), ogrAttId );
#else
OGR_F_UnsetField( feature.get(), ogrAttId );
#endif
Expand Down Expand Up @@ -1719,7 +1719,7 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap &attr_
// field to not be present at all in the output, and thus on reading to
// have disappeared. #16812
#ifdef OGRNullMarker
OGR_F_SetFieldNull( of, f );
OGR_F_SetFieldNull( of.get(), f );
#else
OGR_F_UnsetField( of.get(), f );
#endif
Expand Down

0 comments on commit 317228a

Please sign in to comment.