Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
128 stars 49 forks source link

Inconsistent constructor signatures #129

Closed hellkite500 closed 1 year ago

hellkite500 commented 1 year ago

This constructor signature appears to have a subtle bug. The implementation in the .cpp file has a const FileMode fmode arg, but the header signature doesn't have the same arg const qualified.

Closer inspection of this header shows a few places where this same issues occurs in both constructors and member functions.