mirror of https://github.com/ecmwf/eccodes.git
Modernisation: Revert deletion of the cargs_
This commit is contained in:
parent
6b343e279a
commit
60a37e36d0
|
@ -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)
|
||||
|
|
|
@ -29,6 +29,7 @@ public:
|
|||
bool has_next() const override;
|
||||
|
||||
protected:
|
||||
int carg_;
|
||||
double* lats_;
|
||||
double* lons_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue