Skip to content

Commit

Permalink
Fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 8, 2019
1 parent 49c0524 commit 2a227fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfsgetfeature.cpp
Expand Up @@ -344,7 +344,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 2a227fd

Please sign in to comment.