mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
pre-commit run --show-diff-on-failure --color=always --all-files
This commit is contained in:
parent
ca60dda746
commit
4edf5e6c72
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user