Skip to content
Permalink
Browse files

Use const ref when looping on layers

  • Loading branch information
troopa81 committed Feb 21, 2019
1 parent cc5256c commit 053ab496b5ad219187d9e17c78e6217dd6723fcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsparameters.cpp
@@ -1335,7 +1335,7 @@ namespace QgsWms
if ( splits.size() == 2 )
{
const QStringList layers = splits[0].split( ',' );
for ( QString layer : layers )
for ( const QString& layer : layers )
{
QgsWmsParametersFilter filter;
filter.mFilter = splits[1];

0 comments on commit 053ab49

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