X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fcmp%2FMEDPresentationException.hxx;fp=src%2FMEDCalc%2Fcmp%2FMEDPresentationException.hxx;h=c3ef7a37d471140c899def7feebb7373890fdca1;hb=579b97ee2fa5c7a6231618d7ba504c77ce2be312;hp=b3070dc8abd0ba3d72f6a87f8c288cd3588b8dec;hpb=2dde0463274f805894a05551b876475d04dbce2d;p=modules%2Fmed.git 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(); }