From: vsr Date: Wed, 16 Dec 2020 12:17:52 +0000 (+0300) Subject: #18963 Additional changes: throw() -> noexcept X-Git-Tag: V9_7_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fmed.git;a=commitdiff_plain;h=579b97ee2fa5c7a6231618d7ba504c77ce2be312 #18963 Additional changes: throw() -> noexcept --- diff --git a/src/MEDCalc/cmp/MEDPresentationException.hxx b/src/MEDCalc/cmp/MEDPresentationException.hxx index b3070dc8a..c3ef7a37d 100644 --- a/src/MEDCalc/cmp/MEDPresentationException.hxx +++ b/src/MEDCalc/cmp/MEDPresentationException.hxx @@ -42,9 +42,9 @@ public: this->_msg = oss.str(); } - virtual ~MEDPresentationException() throw() {} + virtual ~MEDPresentationException() noexcept {} - virtual const char* what() const throw() { + virtual const char* what() const noexcept { return this->_msg.c_str(); }