Skip to content

Commit

Permalink
Netcdf : fix compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Feb 16, 2023
1 parent ae70789 commit 4f8bbaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decoders/NetcdfData.h
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ class Netcdf {

map<string, NetAttribute> getAttributes() { return attributes_; }
void ignoreDimension(const string& dim) { ignoredDimensions_.push_back(dim); }
void interpretDimension(const string& dim) { std::remove( ignoredDimensions_.begin(), ignoredDimensions_.end(), dim ); }
void interpretDimension(const string&) { } //std::remove( ignoredDimensions_.begin(), ignoredDimensions_.end(), dim ); }


protected:
Expand All @@ -488,7 +488,7 @@ class Netcdf {
map<string, NetAttribute> attributes_;
double missing_;
mutable map<string, string> detected_;
vector <string> ignoredDimensions_;
vector<string> ignoredDimensions_;

private:
int file_;
Expand Down

0 comments on commit 4f8bbaa

Please sign in to comment.