Skip to content

Commit

Permalink
[Server] Replace list.size() > 0 by !list.isEmpty()
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Jun 5, 2017
1 parent 4ab6a06 commit ad14373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wfs/qgswfsutils.cpp
Expand Up @@ -85,7 +85,7 @@ namespace QgsWfs
fids.insert( fid.toInt() );
}

if ( fids.size() > 0 )
if ( !fids.isEmpty() )
{
request.setFilterFids( fids );
}
Expand Down

0 comments on commit ad14373

Please sign in to comment.