File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1012,7 +1012,7 @@ class CPL_DLL GDALDataset : public GDALMajorObject
10121012 const OGRSpatialReference *poGCP_SRS);
10131013
10141014 // Compatibility layer
1015- const char *GetGCPProjection ();
1015+ const char *GetGCPProjection () const ;
10161016 CPLErr SetGCPs (int nGCPCount, const GDAL_GCP *pasGCPList,
10171017 const char *pszGCPProjection);
10181018
Original file line number Diff line number Diff line change @@ -2017,7 +2017,7 @@ int CPL_STDCALL GDALGetGCPCount(GDALDatasetH hDS)
20172017 * It should not be altered, freed or expected to last for long.
20182018 */
20192019
2020- const char *GDALDataset::GetGCPProjection ()
2020+ const char *GDALDataset::GetGCPProjection () const
20212021{
20222022 const auto poSRS = GetGCPSpatialRef ();
20232023 if (!poSRS || !m_poPrivate)
You can’t perform that action at this time.
0 commit comments