Skip to content

Commit

Permalink
[Server] QgsServerFeatureId use STRING_TO_FID instead of toLongLong
Browse files Browse the repository at this point in the history
As in ohter part of the QGIS Server code, to insert into a QgsFeatureIds list, using STRING_TOFID instead of toLongLong.

(cherry picked from commit e61d4c5)
  • Loading branch information
rldhont authored and nyalldawson committed May 15, 2021
1 parent 0471743 commit f92f47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserverfeatureid.cpp
Expand Up @@ -45,7 +45,7 @@ QgsFeatureRequest QgsServerFeatureId::updateFeatureRequestFromServerFids( QgsFea
QgsFeatureIds fids;
for ( const QString &serverFid : serverFids )
{
fids.insert( serverFid.toLongLong() );
fids.insert( STRING_TO_FID( serverFid ) );
}
featureRequest.setFilterFids( fids );
return featureRequest;
Expand Down

0 comments on commit f92f47b

Please sign in to comment.