diff --git a/cxx4/ncException.h b/cxx4/ncException.h index 731ab49..796b99b 100644 --- a/cxx4/ncException.h +++ b/cxx4/ncException.h @@ -29,7 +29,7 @@ namespace netCDF NcException(const NcException& e) throw(); NcException& operator=(const NcException& e) throw(); virtual ~NcException() throw(); - const char* what() const throw(); + const char* what() const throw() override; int errorCode() const throw(); private: std::string* what_msg;