pre-commit run --show-diff-on-failure --color=always --all-files

This commit is contained in:
Artem Pavlenko 2025-10-24 16:07:35 +01:00
parent ca60dda746
commit 4edf5e6c72

View File

@ -379,7 +379,7 @@ void ogr_datasource::init(mapnik::parameters const& params)
}
mapnik::parameters& extra_params = desc_.get_extra_parameters();
#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 12, 0)
const OGRSpatialReference* srs_ref = layer->GetSpatialRef();
OGRSpatialReference const* srs_ref = layer->GetSpatialRef();
#else
OGRSpatialReference* srs_ref = layer->GetSpatialRef();
#endif