Mark NcException::what() as override for std::exception::what()

This commit is contained in:
Phil Miller 2024-05-28 23:20:02 -07:00
parent 84ddbe37be
commit 93100ffe68

View File

@ -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;