Skip to content

Commit

Permalink
Fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 11, 2019
1 parent 4244c9e commit 7d97ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfsgetfeature.cpp
Expand Up @@ -352,7 +352,7 @@ namespace QgsWfs
#endif

// Force pkAttributes in subset of attributes for primary fid building
QgsAttributeList pkAttributes = provider->pkAttributeIndexes();
const QgsAttributeList pkAttributes = provider->pkAttributeIndexes();
if ( !pkAttributes.isEmpty() )
{
QgsAttributeList subsetOfAttrs = featureRequest.subsetOfAttributes();
Expand Down

0 comments on commit 7d97ebe

Please sign in to comment.