Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / Utils / Utils_SALOME_Exception.cxx
index fe29ca1b84245c04d5cea07ad8811b22794aab58..999afd652cf499d331698b8b93b48b12bfbdf828 100644 (file)
@@ -89,7 +89,7 @@ SALOME_Exception::SALOME_Exception( const char *text, const char *fileName, cons
 }
 
 
-SALOME_Exception::~SALOME_Exception() throw ()
+SALOME_Exception::~SALOME_Exception() noexcept
 {
         if ( _text )
         {
@@ -116,7 +116,7 @@ std::ostream & operator<<( std::ostream &os , const SALOME_Exception &ex )
 
 
 
-const char* SALOME_Exception::what( void ) const throw ()
+const char* SALOME_Exception::what( void ) const noexcept
 {
         return _text ;
 }