mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2024-11-21 03:13:46 +08:00
Mark NcException::what() as override for std::exception::what()
This commit is contained in:
parent
84ddbe37be
commit
93100ffe68
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user