Navigation Menu

Skip to content

Commit

Permalink
Avoid indentation issues between different environments
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 5, 2020
1 parent ea392ea commit 2e795b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -1684,10 +1684,10 @@ namespace QgsWms
return false;
}

const QgsRaster::IdentifyFormat identifyFormat { static_cast<bool>( layer->dataProvider()->capabilities() &
QgsRasterDataProvider::IdentifyFeature ) ?
QgsRaster::IdentifyFormat::IdentifyFormatFeature :
QgsRaster::IdentifyFormat::IdentifyFormatValue };
const QgsRaster::IdentifyFormat identifyFormat(
static_cast<bool>( layer->dataProvider()->capabilities() & QgsRasterDataProvider::IdentifyFeature )
? QgsRaster::IdentifyFormat::IdentifyFormatFeature
: QgsRaster::IdentifyFormat::IdentifyFormatValue );

QgsRasterIdentifyResult identifyResult;
if ( layer->crs() != mapSettings.destinationCrs() )
Expand Down

0 comments on commit 2e795b2

Please sign in to comment.