From 002d355dec99ba21f243f574a83c743cc9e3e2e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Wed, 17 Jun 2020 16:07:55 +0200 Subject: [PATCH] Apply suggestion to Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx --- .../Conversion/include/otbPersistentImageToOGRLayerFilter.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx b/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx index f3bbef63f8..d623a11007 100644 --- a/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx +++ b/Modules/Segmentation/Conversion/include/otbPersistentImageToOGRLayerFilter.hxx @@ -92,7 +92,7 @@ void PersistentImageToOGRLayerFilter<TImage>::Initialize() #if GDAL_VERSION_NUM >= 3000000 // importFromWkt is const-correct in GDAL 3 // Use the same mapping strategy as the one in the datasource. - auto mappingStrategy =m_OGRLayer.GetSpatialRef()->GetAxisMappingStrategy (); + auto mappingStrategy = m_OGRLayer.GetSpatialRef()->GetAxisMappingStrategy(); oSRS.SetAxisMappingStrategy(mappingStrategy); oSRSESRI.SetAxisMappingStrategy(mappingStrategy); #endif -- GitLab