Skip to content
Permalink
Browse files

Mark variable as const

  • Loading branch information
pathmapper authored and nyalldawson committed Jan 4, 2021
1 parent 8e4dccd commit d7d6f8b188ce3893a675f53ca5074b9ef0596bc1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsgetcapabilities.cpp
@@ -838,7 +838,7 @@ namespace QgsWms
layerParentElem.appendChild( layerParentTitleElem );

// Root Layer abstract
QString rootLayerAbstract = QgsServerProjectUtils::owsServiceAbstract( *project );
const QString rootLayerAbstract = QgsServerProjectUtils::owsServiceAbstract( *project );
if ( !rootLayerAbstract.isEmpty() )
{
QDomElement layerParentAbstElem = doc.createElement( QStringLiteral( "Abstract" ) );

0 comments on commit d7d6f8b

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