Skip to content

Commit

Permalink
More const
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent c23577f commit 914338c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -1462,9 +1462,9 @@ namespace QgsWms
}

//Ex_GeographicBoundingBox
int wgs84precision = 6;
QDomElement ExGeoBBoxElement;
QString version = doc.documentElement().attribute( QStringLiteral( "version" ) );
const int wgs84precision = 6;
const QString version = doc.documentElement().attribute( QStringLiteral( "version" ) );
if ( version == QLatin1String( "1.1.1" ) ) // WMS Version 1.1.1
{
ExGeoBBoxElement = doc.createElement( QStringLiteral( "LatLonBoundingBox" ) );
Expand Down

0 comments on commit 914338c

Please sign in to comment.