Salome HOME
#18963 Change throw() -> noexcept
[modules/yacs.git] / src / bases / Exception.cxx
index 48ec735a64840e50a6d5fa80dbb7aa1a5e76d2de..f8cf8af68693bc2c0125c7757843eecb82f66728 100644 (file)
@@ -47,11 +47,11 @@ Exception::Exception(const std::string& what,int errNumber):_what(what),errNumbe
 #endif
 }
 
-const char *Exception::what( void ) const throw ()
+const char *Exception::what( void ) const noexcept
 {
   return _what.c_str();
 }
 
-Exception::~Exception() throw ()
+Exception::~Exception() noexcept
 {
 }