[gdal-dev] [gdal 3.12beta1] OGRFeature::GetDefnRef now returns a const pointer

Even Rouault even.rouault at spatialys.com
Thu Oct 23 07:46:38 PDT 2025


==> 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 <momtchil at momtchev.com>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

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



More information about the gdal-dev mailing list