@@ -149,7 +149,8 @@ class GDALDAASDataset final : public GDALDataset
149149 CPLErr AdviseRead (int nXOff, int nYOff, int nXSize, int nYSize,
150150 int /* nBufXSize */ , int /* nBufYSize */ ,
151151 GDALDataType /* eBufType */ , int /* nBands*/ ,
152- int * /* panBands*/ , char ** /* papszOptions */ ) override ;
152+ int * /* panBands*/ ,
153+ CSLConstList /* papszOptions */ ) override ;
153154 CPLErr FlushCache (bool bAtClosing) override ;
154155};
155156
@@ -183,7 +184,7 @@ class GDALDAASRasterBand final : public GDALRasterBand
183184 CPLErr AdviseRead (int nXOff, int nYOff, int nXSize, int nYSize,
184185 int /* nBufXSize */ , int /* nBufYSize */ ,
185186 GDALDataType /* eBufType */ ,
186- char ** /* papszOptions */ ) override ;
187+ CSLConstList /* papszOptions */ ) override ;
187188 double GetNoDataValue (int *pbHasNoData) override ;
188189 GDALColorInterp GetColorInterpretation () override ;
189190 GDALRasterBand *GetMaskBand () override ;
@@ -396,7 +397,8 @@ static double DAASBackoffFactor(double base)
396397/* DAAS_CPLHTTPFetch() */
397398/* ***********************************************************************/
398399
399- static CPLHTTPResult *DAAS_CPLHTTPFetch (const char *pszURL, char **papszOptions)
400+ static CPLHTTPResult *DAAS_CPLHTTPFetch (const char *pszURL,
401+ CSLConstList papszOptions)
400402{
401403 CPLHTTPResult *psResult;
402404 const int RETRY_COUNT = 4 ;
@@ -1597,7 +1599,7 @@ CPLErr GDALDAASDataset::AdviseRead(int nXOff, int nYOff, int nXSize, int nYSize,
15971599 int nBufXSize, int nBufYSize,
15981600 GDALDataType /* eBufType */ , int /* nBands*/ ,
15991601 int * /* panBands*/ ,
1600- char ** /* papszOptions */ )
1602+ CSLConstList /* papszOptions */ )
16011603{
16021604 if (nXSize == nBufXSize && nYSize == nBufYSize)
16031605 {
@@ -1752,7 +1754,7 @@ CPLErr GDALDAASRasterBand::IRasterIO(GDALRWFlag eRWFlag, int nXOff, int nYOff,
17521754CPLErr GDALDAASRasterBand::AdviseRead (int nXOff, int nYOff, int nXSize,
17531755 int nYSize, int nBufXSize, int nBufYSize,
17541756 GDALDataType /* eBufType */ ,
1755- char ** /* papszOptions */ )
1757+ CSLConstList /* papszOptions */ )
17561758{
17571759 GDALDAASDataset *poGDS = cpl::down_cast<GDALDAASDataset *>(poDS);
17581760 if (nXSize == nBufXSize && nYSize == nBufYSize)
0 commit comments