From 93100ffe68370a07e07f93a14dc0f841ffcab6b0 Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Tue, 28 May 2024 23:20:02 -0700 Subject: [PATCH] Mark NcException::what() as override for std::exception::what() --- cxx4/ncException.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;