Salome HOME
#18963 Change throw() -> noexcept
[modules/yacs.git] / src / py2yacs / py2yacs.cxx
index 479e8ee9f0232da4eaacd20e78279048911447f2..9413481c1eb6d3a36ba054ab9217d6f1bcbfabed 100644 (file)
@@ -32,11 +32,11 @@ Py2yacsException::Py2yacsException(const std::string& what)
 {
 }
 
-Py2yacsException::~Py2yacsException()throw ()
+Py2yacsException::~Py2yacsException() noexcept
 {
 }
 
-const char * Py2yacsException::what() const throw ()
+const char * Py2yacsException::what() const noexcept
 {
   return _what.c_str();
 }