Modernisation: Revert deletion of the cargs_

This commit is contained in:
Eugen Betke 2024-10-21 18:27:00 +02:00
parent 6b343e279a
commit 60a37e36d0
2 changed files with 5 additions and 4 deletions

View File

@ -22,11 +22,11 @@ int Gen::init(grib_handle* h, grib_arguments* args)
const char* s_rawData = NULL;
const char* s_numPoints = NULL;
long numberOfPoints = 0;
int carg = 1;
int carg_ = 1;
s_numPoints = grib_arguments_get_name(h, args, carg++);
missingValue_ = grib_arguments_get_name(h, args, carg++);
s_rawData = grib_arguments_get_name(h, args, carg++);
s_numPoints = grib_arguments_get_name(h, args, carg_++);
missingValue_ = grib_arguments_get_name(h, args, carg_++);
s_rawData = grib_arguments_get_name(h, args, carg_++);
data_ = NULL;
if ((err = grib_get_size(h, s_rawData, &dli)) != GRIB_SUCCESS)

View File

@ -29,6 +29,7 @@ public:
bool has_next() const override;
protected:
int carg_;
double* lats_;
double* lons_;