Changing my mind again with maintaining the const changes of beta1, and instead extending the guidance in MIGRATION_GUIDE.TXT:

==> https://github.com/OSGeo/gdal/pull/13295

Le 23/10/2025 à 16:46, Even Rouault via gdal-dev a écrit :
==> https://github.com/OSGeo/gdal/pull/13277 : reintroduce non-const OGRFeature::GetDefnRef() and OGRLayer::GetSpatialRef() methods

Le 21/10/2025 à 18:37, Momtchil Momtchev via gdal-dev a écrit :

Hello,

In GDAL 3.12, OGRFeature::GetDefnRef now returns a const pointer. This means that calling Reference() or Dereference() is no longer possible. Does this mean that this is now automatic?


--
Momtchil Momtchev <[email protected]>

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to