Skip to content
Permalink
Browse files

Fix build

  • Loading branch information
nyalldawson committed Oct 23, 2017
1 parent 4f4681a commit 317228a006750e6827f6b32735e71379ceafeeb9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/ogr/qgsogrprovider.cpp
@@ -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
@@ -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

0 comments on commit 317228a

Please sign in to comment.
You can’t perform that action at this time.