From 579b97ee2fa5c7a6231618d7ba504c77ce2be312 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 16 Dec 2020 15:17:52 +0300 Subject: [PATCH] #18963 Additional changes: throw() -> noexcept --- src/MEDCalc/cmp/MEDPresentationException.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } -- 2.39.2